/* ============================================================
   Article (long-form guide) styles.
   Optimised for 60–75 character measure and serious skim-ability.
   ============================================================ */

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.article-header { margin-bottom: 40px; }
.article-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 18px;
}
.article-eyebrow .sep { color: var(--ink-400); font-weight: 400; }
.article-title {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 18px;
}
.article-title em {
  font-style: normal;
  background: linear-gradient(180deg, var(--forest-700), var(--forest-500));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.article-dek {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-500);
  max-width: 60ch;
}
.article-meta {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 12px;
  color: var(--ink-400);
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}
.article-meta strong { color: var(--ink-700); font-weight: 600; }

.toc {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin: 32px 0 48px;
}
.toc h2 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-500);
  margin-bottom: 12px;
}
.toc ol {
  list-style: decimal-leading-zero inside;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 6px 24px;
  font-size: 14px;
}
.toc ol li { color: var(--ink-700); }
.toc ol li::marker { color: var(--gold-600); font-family: var(--font-mono); font-size: 11px; font-weight: 500; }
.toc ol li a:hover { color: var(--forest-700); }

.article-body { font-size: 16.5px; line-height: 1.7; color: var(--ink-900); }
.article-body > * + * { margin-top: 18px; }

.article-body h2 {
  font-size: 26px; font-weight: 800;
  letter-spacing: -0.018em;
  line-height: 1.2;
  margin: 56px 0 14px;
  scroll-margin-top: 80px;
}
.article-body h2 + p { margin-top: 14px; }
.article-body h2 .h-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  color: var(--gold-600);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.article-body h3 {
  font-size: 19px; font-weight: 700;
  letter-spacing: -0.012em;
  margin: 36px 0 10px;
  scroll-margin-top: 80px;
}
.article-body p { color: var(--ink-700); }
.article-body p strong { color: var(--ink-900); font-weight: 700; }
.article-body p em { font-style: italic; color: var(--ink-900); }
.article-body a { color: var(--forest-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--forest-100); }
.article-body a:hover { text-decoration-color: var(--forest-500); }
.article-body ul, .article-body ol { padding-left: 22px; color: var(--ink-700); }
.article-body ul li { list-style: disc; margin-bottom: 6px; }
.article-body ol li { list-style: decimal; margin-bottom: 6px; }
.article-body code {
  font-family: var(--font-mono); font-size: 13.5px;
  background: var(--surface-2); border: 1px solid var(--border-soft);
  padding: 1px 6px; border-radius: 5px;
  color: var(--ink-900);
}

.callout-app {
  margin: 28px 0;
  padding: 18px 22px;
  background: var(--forest-50);
  border: 1px solid var(--forest-100);
  border-left: 3px solid var(--forest-500);
  border-radius: var(--radius-md);
  display: grid; grid-template-columns: 28px 1fr; gap: 14px;
  align-items: start;
}
.callout-app .ico {
  /* Inline app-icon — keeps the rounded-tile look from the source PNG. */
  width: 28px; height: 28px;
  border-radius: 7px;
  display: block;
  object-fit: cover;
}
.callout-app .cap {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--forest-700);
  margin-bottom: 4px;
}
.callout-app p { color: var(--forest-700); font-size: 14.5px; line-height: 1.55; margin: 0; }
.callout-app p + p { margin-top: 6px; }

.callout-warn {
  margin: 28px 0;
  padding: 18px 22px;
  background: var(--gold-200);
  border: 1px solid var(--gold-500);
  border-left: 3px solid var(--gold-600);
  border-radius: var(--radius-md);
  font-size: 14.5px;
  color: var(--gold-600);
}
.callout-warn strong { color: var(--gold-600); }

.phase {
  margin: 36px 0;
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.phase::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--gold-500), var(--gold-600));
}
.phase-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.phase-num {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  color: var(--gold-600);
  letter-spacing: 0.06em;
}
.phase-title { font-size: 20px; font-weight: 800; letter-spacing: -0.014em; margin: 0; }
.phase-when { font-size: 12.5px; color: var(--ink-500); margin-bottom: 14px; font-weight: 600; }

.phase-specs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 14px 0 16px;
}
.spec {
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 10px 12px;
}
.spec .l { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500); }
.spec .v { font-size: 14.5px; font-weight: 700; color: var(--ink-900); font-variant-numeric: tabular-nums; margin-top: 2px; }

.phase p { font-size: 14.5px; line-height: 1.6; color: var(--ink-700); margin-top: 10px; }
.phase .app-hint {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--hairline);
  font-size: 13.5px;
  color: var(--forest-700);
  display: flex; gap: 10px; align-items: flex-start;
}
.phase .app-hint::before {
  content: ""; flex: 0 0 auto;
  width: 22px; height: 22px; border-radius: 5px;
  background: url("/img/logo-28.png") center / cover no-repeat;
}

.exam-table {
  width: 100%;
  border-collapse: separate; border-spacing: 0;
  font-size: 13.5px;
  margin: 16px 0 24px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.exam-table th, .exam-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border-soft); }
.exam-table th {
  background: var(--surface-2);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-500);
}
.exam-table tr:last-child td { border-bottom: 0; }
.exam-table td { color: var(--ink-700); font-variant-numeric: tabular-nums; }
.exam-table td strong { color: var(--ink-900); }

.article-cta {
  margin-top: 64px;
  padding: 32px 28px;
  background: linear-gradient(135deg, var(--forest-700), var(--forest-600));
  color: #fff;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-cta);
}
.article-cta::after {
  content: ""; position: absolute; right: -50px; top: -50px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,165,116,.25) 0%, rgba(212,165,116,0) 65%);
  pointer-events: none;
}
.article-cta h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.016em; margin-bottom: 8px; }
.article-cta p { font-size: 14.5px; opacity: .9; margin-bottom: 18px; max-width: 46ch; margin-left: auto; margin-right: auto; }
.article-cta .btn {
  background: #fff;
  color: var(--forest-700);
  font-weight: 700;
}
.article-cta .btn:hover { transform: translateY(-1px); }

.sources {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--ink-500);
}
.sources h3 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-500);
  margin-bottom: 12px;
}
.sources ul { padding: 0; list-style: none; }
.sources li { margin-bottom: 6px; }
.sources li::before { content: "→ "; color: var(--gold-600); }
.sources a { color: var(--ink-700); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--border); }
