/* Articles — typography overrides on top of styles.css.
   Keep it minimal: reuse aurora, nav, footer, brand. Just dial in reading. */

.article-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(80px, 12vw, 140px) clamp(20px, 5vw, 32px) 96px;
  position: relative;
  z-index: 1;
}

.article-shell .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-mute);
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 32px;
  transition: color .2s ease;
}
.article-shell .breadcrumb:hover { color: var(--emerald-soft); }
.article-shell .breadcrumb::before {
  content: "←";
  display: inline-block;
}

.article-shell .article-meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.article-shell .article-meta .dot {
  display: inline-block;
  margin: 0 8px;
  opacity: .4;
}

.article-shell h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--text);
}

.article-shell .lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--text-mute);
  margin: 0 0 48px;
  max-width: 65ch;
}

.article-shell h2 {
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 56px 0 16px;
  color: var(--text);
}

.article-shell h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 36px 0 12px;
  color: var(--text);
}

.article-shell p {
  font-size: 17px;
  line-height: 1.78;
  color: var(--text);
  margin: 0 0 22px;
}
.article-shell p.dim {
  color: var(--text-mute);
  font-size: 16px;
}

.article-shell a {
  color: var(--emerald-soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--emerald-line);
  transition: color .2s ease, text-decoration-color .2s ease;
}
.article-shell a:hover {
  color: var(--emerald);
  text-decoration-color: var(--emerald);
}

.article-shell strong { color: var(--text); font-weight: 600; }
.article-shell em { color: var(--text); font-style: italic; }

.article-shell ul, .article-shell ol {
  margin: 0 0 26px;
  padding-inline-start: 24px;
}
.article-shell li {
  font-size: 17px;
  line-height: 1.78;
  margin-bottom: 8px;
  color: var(--text);
}

.article-shell blockquote {
  border-inline-start: 2px solid var(--emerald-line);
  padding-inline-start: 22px;
  margin: 28px 0;
  color: var(--text-mute);
  font-style: italic;
  font-size: 18px;
}

.article-shell .pullquote {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.3;
  margin: 48px -8px;
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
  color: var(--text);
}

.article-shell .callout {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 32px 0;
}
.article-shell .callout--emerald {
  border-color: var(--emerald-line);
  background: rgba(16, 185, 129, .04);
}
.article-shell .callout h3 { margin-top: 0; }
.article-shell .callout p:last-child { margin-bottom: 0; }

.article-shell table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 15px;
}
.article-shell th, .article-shell td {
  text-align: start;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.article-shell th {
  font-weight: 600;
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-mute);
}
.article-shell td { color: var(--text); }

.article-shell code {
  font-family: var(--mono);
  font-size: 14px;
  background: var(--bg-elev);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.article-shell hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━ MOCK UI ELEMENTS (illustrations of platforms) ━━━━━━━━━━━━━━━━━━━━━ */

.mock {
  margin: 36px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  position: relative;
}
.mock__caption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 12px 0 0;
  text-align: center;
}

/* A "screenshot-like" frame with chrome bar */
.mock-frame__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.mock-frame__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--text-dim);
  opacity: .4;
}
.mock-frame__url {
  margin-inline-start: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  background: var(--bg-elev-2);
  padding: 4px 10px;
  border-radius: 6px;
  flex: 1;
  max-width: 380px;
}

.mock-frame__body { padding: 18px; background: var(--bg-elev); }

/* ==== LinkedIn-style post mock ==== */
.mock-post {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.mock-post__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.mock-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  flex-shrink: 0;
}
.mock-avatar--em { background: linear-gradient(135deg, #10b981, #34d399); }
.mock-avatar--orange { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.mock-avatar--purple { background: linear-gradient(135deg, #a855f7, #ec4899); }
.mock-post__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.mock-post__role {
  font-size: 11px;
  color: var(--text-mute);
}
.mock-post__time {
  font-size: 10px;
  color: var(--text-dim);
}
.mock-post__body {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 12px;
}
.mock-post__actions {
  display: flex;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-mute);
}
.mock-post__action {
  display: flex;
  align-items: center;
  gap: 4px;
}
.mock-post__action--hot { color: var(--emerald-soft); font-weight: 600; }

/* ==== Composer mock ==== */
.mock-composer {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.mock-composer__head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.mock-composer__field {
  background: var(--bg-elev-2);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-dim);
  min-height: 80px;
}
.mock-composer__toolbar {
  display: flex; gap: 8px; margin-top: 12px;
  flex-wrap: wrap;
}
.mock-composer__btn {
  font-size: 11px; padding: 5px 10px;
  border: 1px solid var(--border); border-radius: 6px;
  color: var(--text-mute);
}
.mock-composer__btn--primary {
  background: var(--emerald); color: #fff;
  border-color: var(--emerald); font-weight: 600;
  margin-inline-start: auto;
}

/* ==== Comment thread mock ==== */
.mock-comment {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}
.mock-comment:first-child { border-top: none; }
.mock-comment__avatar { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; }
.mock-comment__body {
  background: var(--bg-elev-2);
  padding: 8px 12px; border-radius: 10px;
  font-size: 12px; line-height: 1.5;
  color: var(--text); flex: 1;
}
.mock-comment__author {
  font-weight: 600; font-size: 11px;
  color: var(--text); margin-bottom: 2px;
}
.mock-comment__badge {
  font-size: 10px; padding: 2px 6px;
  border-radius: 4px;
  background: var(--emerald-glow);
  color: var(--emerald-soft);
  margin-inline-start: 6px;
  font-weight: 600;
  vertical-align: middle;
}
.mock-comment__badge--lead {
  background: rgba(245, 158, 11, .15);
  color: #fbbf24;
}

/* ==== Stats card ==== */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 32px 0;
}
.stat-block {
  padding: 20px 18px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: start;
}
.stat-block__value {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-block__value--emerald { color: var(--emerald-soft); }
.stat-block__label {
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.4;
}
.stat-block__source {
  font-size: 10px;
  font-family: var(--mono);
  color: var(--text-dim);
  margin-top: 6px;
  letter-spacing: .04em;
}

/* ==== "How we help" practical box ==== */
.we-help {
  margin: 36px -8px;
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(16, 185, 129, .04), rgba(16, 185, 129, .01));
  border: 1px solid var(--emerald-line);
  border-radius: 16px;
}
.we-help__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--emerald-soft);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.we-help__title::before { content: "🎯 "; }
.we-help h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 18px 0 8px;
}
.we-help p, .we-help li { color: var(--text); }
.we-help ol { counter-reset: step; padding-inline-start: 0; list-style: none; }
.we-help ol li {
  position: relative;
  padding-inline-start: 36px;
  margin-bottom: 12px;
  counter-increment: step;
}
.we-help ol li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 0; top: 2px;
  width: 24px; height: 24px;
  background: var(--emerald);
  color: #061a13;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}

/* ==== Comparison bar (e.g. LinkedIn vs Facebook engagement) ==== */
.bar-chart {
  margin: 28px 0;
  display: flex; flex-direction: column; gap: 10px;
}
.bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 80px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.bar-row__label {
  color: var(--text);
  font-weight: 500;
}
.bar-row__track {
  height: 26px;
  background: var(--bg-elev-2);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.bar-row__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--emerald), var(--emerald-soft));
  border-radius: 6px;
}
.bar-row__fill--muted {
  background: linear-gradient(90deg, var(--text-dim), var(--text-mute));
  opacity: .6;
}
.bar-row__value {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
  text-align: end;
  font-weight: 600;
}


.article-shell .article-footer {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-shell .next-article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}
.article-shell .next-article:hover {
  border-color: var(--emerald-line);
  background: var(--glass-hover);
  text-decoration: none;
}
.article-shell .next-article__label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.article-shell .next-article__title {
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
}
.article-shell .next-article__arrow {
  color: var(--emerald-soft);
  font-size: 24px;
  transition: transform .2s ease;
}
.article-shell .next-article:hover .next-article__arrow {
  transform: translateX(-4px);
}

/* ━━━━━━━━━━━━━━━━━━━━━ INDEX PAGE ━━━━━━━━━━━━━━━━━━━━━ */

.articles-index {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(80px, 12vw, 140px) clamp(20px, 5vw, 32px) 96px;
  position: relative;
  z-index: 1;
}

.articles-index__header {
  max-width: 640px;
  margin-bottom: 64px;
}
.articles-index__eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--emerald-soft);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.articles-index__header h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--text);
}
.articles-index__header p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-mute);
  margin: 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.article-card {
  display: block;
  padding: 28px 32px;
  background: var(--bg);
  text-decoration: none;
  transition: background .25s ease;
  position: relative;
}
.article-card:hover {
  background: var(--bg-elev);
  text-decoration: none;
}
.article-card__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
}
.article-card__meta .tag {
  color: var(--emerald-soft);
}
.article-card__title {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.article-card__excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-mute);
  margin: 0;
  max-width: 60ch;
}
.article-card__arrow {
  position: absolute;
  top: 32px;
  inset-inline-start: 32px;
  color: var(--text-dim);
  font-size: 20px;
  transition: color .2s ease, transform .2s ease;
}
.article-card:hover .article-card__arrow {
  color: var(--emerald-soft);
  transform: translateX(-4px);
}

@media (min-width: 720px) {
  .articles-grid { grid-template-columns: 1fr 1fr; }
}
