/* ============================================================
   Long-form article / blog page — shared with styles.css tokens
   ============================================================ */

.ahero { position: relative; padding: 176px 0 40px; overflow: hidden; }
.ahero__inner { position: relative; z-index: 3; max-width: 820px; }
.ahero__cat { font-family: var(--font-display); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.ahero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 5.6vw, 4rem); letter-spacing: -0.035em; line-height: 1.04; margin: 18px 0 22px; }
.ahero__deck { font-size: clamp(1.1rem, 2.1vw, 1.4rem); color: var(--text-dim); max-width: 700px; line-height: 1.5; }
.ahero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 30px; font-size: 13.5px; color: var(--text-mut); }
.ahero__meta .avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(34,235,7,0.1); border: 1px solid rgba(34,235,7,0.3); }
.ahero__meta .avatar img { width: 20px; height: 20px; }
.ahero__meta strong { color: var(--text-dim); font-weight: 600; }
.ahero__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-mut); }
.ahero__rule { max-width: 820px; margin: 40px auto 0; border-top: 1px solid var(--line); }

/* Article body */
.article { max-width: 760px; margin: 0 auto; padding: 10px 0 20px; position: relative; z-index: 3; }
.article > p, .article > ul, .article > ol { color: var(--text-dim); font-size: 1.12rem; line-height: 1.75; }
.article > p + p { margin-top: 22px; }
.article .lead { font-size: 1.3rem; line-height: 1.6; color: var(--text); font-weight: 450; }
.article strong { color: var(--text); font-weight: 600; }
.article a.inline { color: var(--accent-3); border-bottom: 1px solid rgba(34,235,7,0.35); }
.article a.inline:hover { border-color: var(--accent); color: var(--accent); }

.article h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.2rem); letter-spacing: -0.025em; line-height: 1.12; margin: 56px 0 6px; scroll-margin-top: 90px; }
.article h2 .num { color: var(--accent); font-size: 0.62em; margin-right: 12px; vertical-align: 2px; }
.article h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.015em; margin: 34px 0 4px; }
.article h2 + p, .article h3 + p { margin-top: 14px; }

.article ul, .article ol { padding-left: 4px; margin-top: 18px; list-style: none; display: grid; gap: 12px; }
.article ul li, .article ol li { position: relative; padding-left: 28px; color: var(--text-dim); font-size: 1.08rem; line-height: 1.65; }
.article ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); border-radius: 2px; box-shadow: 0 0 10px var(--glow); }
.article ol { counter-reset: ol; }
.article ol li { counter-increment: ol; padding-left: 40px; }
.article ol li::before { content: counter(ol); position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--accent); background: rgba(34,235,7,0.08); border: 1px solid rgba(34,235,7,0.25); }
.article li strong { color: var(--text); }

/* Table of contents */
.toc { margin: 30px 0 8px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.toc h4 { font-family: var(--font-display); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mut); margin-bottom: 14px; }
.toc ol { counter-reset: toc; list-style: none; display: grid; gap: 9px; margin: 0; padding: 0; }
.toc ol li { counter-increment: toc; padding-left: 0; }
.toc ol li::before { content: none; }
.toc a { display: flex; gap: 12px; color: var(--text-dim); font-size: 15px; transition: color .2s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-display); color: var(--accent); font-size: 13px; }
.toc a:hover { color: var(--text); }

/* Key takeaways */
.takeaways { margin: 34px 0; padding: 28px 30px; border-radius: var(--radius-lg); border: 1px solid rgba(34,235,7,0.22); background: rgba(34,235,7,0.05); }
.takeaways h4 { font-family: var(--font-display); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.takeaways ul { margin: 0; }
.takeaways ul li { color: var(--text-dim); font-size: 1.02rem; }

/* Big stat callout */
.stat-callout { margin: 40px 0; padding: 30px 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), var(--surface)); display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.stat-callout .fig { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 7vw, 3.8rem); letter-spacing: -0.03em; line-height: 1; background: linear-gradient(180deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; white-space: nowrap; }
.stat-callout p { color: var(--text-dim); font-size: 1rem; line-height: 1.55; }
.stat-callout cite { display: block; margin-top: 8px; font-style: normal; font-size: 12.5px; color: var(--text-mut); }

/* Pull quote */
.pullquote { margin: 44px 0; padding: 8px 0 8px 30px; border-left: 3px solid var(--accent); }
.pullquote p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.28; letter-spacing: -0.02em; color: var(--text); }
.pullquote cite { display: block; margin-top: 16px; font-style: normal; font-size: 14.5px; color: var(--text-mut); }
.pullquote cite strong { color: var(--accent-3); font-weight: 600; }

/* Expert citation cards */
.experts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 34px 0; }
.expert { padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.expert__name { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; }
.expert__role { font-size: 12.5px; color: var(--accent); margin-top: 2px; margin-bottom: 12px; }
.expert__point { color: var(--text-dim); font-size: 14.5px; line-height: 1.55; }

/* References */
.refs { margin-top: 20px; list-style: none; counter-reset: ref; display: grid; gap: 12px; padding: 0; }
.refs li { counter-increment: ref; position: relative; padding-left: 34px; color: var(--text-mut); font-size: 13.5px; line-height: 1.5; }
.refs li::before { content: counter(ref); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-family: var(--font-display); font-size: 12px; color: var(--accent); background: rgba(34,235,7,0.08); border: 1px solid rgba(34,235,7,0.2); }
.refs li b { color: var(--text-dim); font-weight: 600; }

.article__divider { margin: 52px 0; border-top: 1px solid var(--line); }

@media (max-width: 620px) {
  .ahero { padding-top: 150px; }
  .stat-callout { grid-template-columns: 1fr; gap: 12px; }
  .experts { grid-template-columns: 1fr; }
  .article > p, .article > ul, .article > ol { font-size: 1.06rem; }
}
