/* =========================================================
   B2B TechSelect — SYSPRO Microsite
   Editorial analyst publication aesthetic
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink: #1a1814;
  --ink-2: #3a352e;
  --ink-3: #6b6358;
  --ink-4: #918876;
  --paper: #fbf9f4;
  --paper-2: #f4efe5;
  --vellum: #efe7d4;
  --rule: #d8cfb8;
  --rule-soft: #e8e0c9;
  --claret: #8b1538;
  --claret-2: #6b0f2a;
  --claret-soft: #f8e8ee;
  --navy: #1f3a5f;
  --olive: #5a6a3f;
  --green-strong: #2f5a3a;
  --amber: #8f6b1f;
  --shadow: 0 1px 0 rgba(26,24,20,0.04), 0 8px 24px -12px rgba(26,24,20,0.12);

  --f-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, "URW Palladio L", "Hoefler Text", serif;
  --f-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --max-prose: 720px;
  --max-wide: 1180px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  background-image:
    radial-gradient(circle at 20% 10%, rgba(139,21,56,0.025) 0%, transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(31,58,95,0.02) 0%, transparent 50%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "ss01" 1;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--claret); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 120ms ease; }
a:hover { color: var(--claret-2); text-decoration-thickness: 2px; }

::selection { background: var(--claret); color: var(--paper); }

.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--ink); color: var(--paper); padding: 8px 16px;
  text-decoration: none; font-weight: 500; z-index: 100;
}
.skip-link:focus { top: 0; }

/* ---------- Masthead ---------- */
.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(251,249,244,0.92);
}
.masthead-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.masthead-mark {
  display: flex; align-items: baseline; gap: 14px;
  text-decoration: none; color: var(--ink);
}
.masthead-mark:hover { color: var(--claret); }
.mark-glyph {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-feature-settings: "ss01" 1;
}
.mark-ampersand { color: var(--claret); font-style: italic; font-weight: 500; }
.mark-wordmark {
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-left: 1px solid var(--rule);
  padding-left: 14px;
}
.mark-small { font-size: 0.7em; vertical-align: 0.15em; color: var(--claret); }
.masthead-nav {
  display: flex; gap: 28px;
  font-size: 13.5px;
  font-weight: 500;
}
.masthead-nav a {
  color: var(--ink-2);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}
.masthead-nav a:hover { color: var(--claret); }
.masthead-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--claret);
  transform: scaleX(0); transform-origin: left;
  transition: transform 200ms ease;
}
.masthead-nav a:hover::after { transform: scaleX(1); }

@media (max-width: 720px) {
  .masthead-inner { padding: 12px 20px; }
  .masthead-nav { display: none; }
}

/* ---------- Article head ---------- */
.article-head {
  padding: 88px 32px 56px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.article-head::before {
  content: "";
  position: absolute; top: 32px; right: 32px;
  width: 88px; height: 88px;
  background: var(--claret);
  border-radius: 50%;
  opacity: 0.04;
  filter: blur(20px);
}
.article-head-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--claret);
  margin: 0 0 28px;
  font-feature-settings: "tnum" 1;
}
.eyebrow-bullet {
  color: var(--claret);
  font-size: 8px;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.article-title {
  font-family: var(--f-display);
  font-weight: 350;
  font-size: clamp(40px, 6.5vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  max-width: 980px;
  color: var(--ink);
  font-feature-settings: "ss01" 1, "kern" 1, "liga" 1;
}
.title-accent {
  font-style: italic;
  font-weight: 400;
  color: var(--claret);
  position: relative;
}
.title-accent::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0.06em;
  height: 0.06em;
  background: var(--claret);
  opacity: 0.15;
}
.title-year {
  display: block;
  font-style: italic;
  color: var(--ink-3);
  font-weight: 350;
}
.article-deck {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 760px;
  margin: 0 0 36px;
  font-feature-settings: "kern" 1;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
  max-width: 760px;
}
.meta-line {
  font-size: 14px;
  color: var(--ink-3);
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.meta-byline a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 1px; }
.meta-byline a:hover { color: var(--claret); border-color: var(--claret); }
.meta-divider { color: var(--ink-4); }
.meta-date { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.meta-read { color: var(--ink-4); }

@media (max-width: 720px) {
  .article-head { padding: 56px 20px 40px; }
}

/* ---------- Section base ---------- */
.section-prose,
.section-answer,
.section-profiles,
.section-recommendation,
.section-author,
.section-changelog {
  padding: 72px 32px;
  border-bottom: 1px solid var(--rule-soft);
}
.section-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
}
.section-prose h2,
.section-answer h2,
.section-profiles h2,
.section-recommendation h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 28px;
  max-width: 820px;
  font-feature-settings: "ss01" 1;
}
.section-prose h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 40px 0 16px;
  color: var(--ink);
}
.section-prose p {
  max-width: var(--max-prose);
  margin: 0 0 18px;
  color: var(--ink-2);
}
.section-prose ul.bullet-list {
  max-width: var(--max-prose);
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.section-prose ul.bullet-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink-2);
}
.section-prose ul.bullet-list li::before {
  content: "";
  position: absolute; left: 0; top: 22px;
  width: 14px; height: 1px;
  background: var(--claret);
}
.section-prose ul.bullet-list li:last-child { border-bottom: 0; }
.section-prose ul.bullet-list li strong { color: var(--ink); font-weight: 600; }

@media (max-width: 720px) {
  .section-prose, .section-answer, .section-profiles, .section-recommendation,
  .section-author, .section-changelog { padding: 48px 20px; }
}

/* ---------- Short Answer ---------- */
.section-answer {
  background: var(--vellum);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.section-answer::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--claret);
}
.answer-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--claret);
  padding: 6px 14px;
  margin: 0 0 24px;
}
.answer-heading {
  font-family: var(--f-display) !important;
  font-weight: 400 !important;
  font-size: clamp(22px, 2.8vw, 32px) !important;
  line-height: 1.32 !important;
  letter-spacing: -0.012em !important;
  color: var(--ink) !important;
  margin: 0 0 20px !important;
  max-width: 920px !important;
}
.answer-heading strong {
  font-weight: 600;
  color: var(--claret);
}
.answer-prose {
  max-width: 820px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0;
}
.answer-prose strong { color: var(--ink); font-weight: 600; }

/* ---------- Tables ---------- */
.table-wrap {
  margin: 28px 0 32px;
  overflow-x: auto;
  border: 1px solid var(--rule);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.5;
  background: var(--paper);
}
.data-table caption {
  caption-side: top;
  text-align: left;
  padding: 14px 18px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
}
.data-table thead th {
  text-align: left;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 14px 16px;
  border-bottom: 2px solid var(--ink);
  background: var(--paper-2);
  vertical-align: bottom;
}
.data-table tbody td,
.data-table tbody th {
  padding: 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink-2);
}
.data-table tbody th[scope="row"] {
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
  background: var(--paper-2);
  width: 22%;
}
.data-table tbody tr:last-child td,
.data-table tbody tr:last-child th { border-bottom: 0; }
.data-table tbody tr:hover { background: rgba(239, 231, 212, 0.3); }
.data-table .col-rank { width: 56px; }
.data-table .col-weight { width: 80px; text-align: center; }
.data-table .col-evidence { width: 100px; }
.data-table .num {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.data-table .total-row td {
  border-top: 2px solid var(--ink);
  background: var(--vellum);
  font-weight: 600;
  color: var(--ink);
}
.data-table .vendor-name { color: var(--ink); }
.data-table .vendor-name a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px dotted var(--ink-4);
}
.data-table .vendor-name a:hover { color: var(--claret); border-color: var(--claret); }

.rank-cell { text-align: center; padding: 16px 8px; }
.rank-num {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 22px;
  font-style: italic;
  color: var(--claret);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.evidence-tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border: 1px solid currentColor;
  border-radius: 1px;
  white-space: nowrap;
}
.evidence-tag.strong { color: var(--green-strong); }
.evidence-tag.moderate { color: var(--amber); }
.evidence-tag.limited { color: var(--ink-3); }

.see-also {
  margin-top: 8px !important;
  font-size: 14px;
  color: var(--ink-3);
}
.see-also a { font-weight: 500; }

.disclosure {
  font-size: 13px;
  color: var(--ink-3);
  max-width: var(--max-prose);
  border-left: 2px solid var(--rule);
  padding: 8px 0 8px 16px;
  margin: 24px 0 0 !important;
  font-style: italic;
}

/* Head-to-head specific */
.head-to-head .h2h-vendor {
  display: block;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: none;
  margin-bottom: 2px;
}
.head-to-head .h2h-vendor.first { color: var(--claret); }

/* ---------- Profiles ---------- */
.section-profiles { padding-bottom: 24px; }
.profiles-master-heading { margin-bottom: 48px !important; }

.vendor-profile {
  max-width: 920px;
  padding: 56px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.vendor-profile:last-child { border-bottom: 0; }
.vendor-profile.featured {
  background: linear-gradient(180deg, transparent 0%, rgba(239,231,212,0.25) 100%);
  margin: -56px -24px 0;
  padding: 56px 24px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.vendor-profile.featured::before {
  content: "Top Pick";
  position: absolute;
  top: 28px; right: 24px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 14px;
  font-weight: 500;
  color: var(--claret);
  padding: 4px 12px;
  background: var(--paper);
  border: 1px solid var(--claret);
}

.profile-head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule-soft);
}
.profile-rank {
  font-family: var(--f-display);
  font-weight: 350;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  color: var(--claret);
  letter-spacing: -0.04em;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-variant-numeric: lining-nums tabular-nums;
  flex-shrink: 0;
}
.profile-titles { flex: 1; }
.profile-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 4px;
}
.profile-tag {
  font-size: 14.5px;
  color: var(--ink-3);
  margin: 0;
  font-style: italic;
}

.profile-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 28px;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin: 0 0 28px;
  padding-top: 8px;
  border-top: 1px solid var(--rule-soft);
}
@media (max-width: 720px) {
  .profile-grid { grid-template-columns: 1fr; gap: 24px; }
}
.profile-subhead {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 16px 0 12px;
}
.profile-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
}
.profile-list li {
  position: relative;
  padding: 8px 0 8px 20px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule-soft);
}
.profile-list li:last-child { border-bottom: 0; }
.profile-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 17px;
  width: 8px; height: 1px;
  background: var(--ink-4);
}

.profile-best-fit {
  background: var(--paper-2);
  border-left: 3px solid var(--claret);
  padding: 16px 20px;
  margin: 0 0 28px;
}
.best-fit-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--claret);
  margin-bottom: 6px;
}
.profile-best-fit p { font-size: 15px; color: var(--ink); margin: 0; max-width: none; }

.profile-validation {
  margin: 0 0 28px;
  padding: 20px 0;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.validation-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  display: grid;
  gap: 8px;
}
.validation-key {
  display: inline-block;
  min-width: 130px;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.profile-decision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0 0 28px;
}
@media (max-width: 720px) {
  .profile-decision { grid-template-columns: 1fr; gap: 16px; }
}
.decision-block {
  padding: 18px 20px;
  background: var(--paper-2);
  border-top: 2px solid var(--ink-4);
}
.decision-block.choose { border-top-color: var(--green-strong); }
.decision-block.avoid { border-top-color: var(--claret); }
.decision-label {
  display: block;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 6px;
}
.decision-block p { font-size: 14.5px; color: var(--ink-2); margin: 0; max-width: none; line-height: 1.55; }

.profile-summary {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.5;
  color: var(--ink);
  border-left: 3px solid var(--claret);
  padding: 4px 0 4px 20px;
  margin: 0;
  max-width: 760px;
  letter-spacing: -0.005em;
}

/* ---------- Recommendation ---------- */
.section-recommendation {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.section-recommendation h2 {
  color: var(--paper);
  font-family: var(--f-display);
  font-weight: 350;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.02em;
  margin: 0 0 36px;
}
.section-recommendation .answer-badge {
  background: var(--paper);
  color: var(--ink);
}
.recommendation-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 960px;
  display: grid;
  gap: 0;
}
.recommendation-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(251,249,244,0.12);
}
.recommendation-list li:last-child { border-bottom: 0; }
.rec-label {
  font-size: 14px;
  color: rgba(251,249,244,0.65);
  font-weight: 400;
  letter-spacing: 0.01em;
}
.rec-value {
  font-family: var(--f-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(17px, 2vw, 22px);
  color: var(--paper);
  letter-spacing: -0.01em;
  text-align: right;
  flex-shrink: 0;
}

/* ---------- Fit grid ---------- */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1000px;
}
@media (max-width: 720px) {
  .fit-grid { grid-template-columns: 1fr; gap: 20px; }
}
.fit-col {
  padding: 28px 28px 32px;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.fit-col.fit-yes { border-top: 3px solid var(--green-strong); }
.fit-col.fit-no { border-top: 3px solid var(--claret); }
.fit-heading-sub {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.01em;
}
.fit-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
}
.fit-yes .fit-icon { background: var(--green-strong); }
.fit-no .fit-icon { background: var(--claret); }
.fit-list { list-style: none; padding: 0; margin: 0; font-size: 14.5px; }
.fit-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink-2);
}
.fit-list li:last-child { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-item {
  max-width: 820px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--ink);
}
.faq-item p {
  font-size: 15.5px;
  color: var(--ink-2);
  margin: 0;
  max-width: none;
  line-height: 1.65;
}

/* ---------- Changelog ---------- */
.section-changelog {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  padding: 36px 32px;
}
.section-changelog h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-family: var(--f-sans);
  margin: 0 0 12px;
}
.changelog-list { list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--ink-2); }
.changelog-list time {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--claret);
  margin-right: 10px;
}

/* ---------- vs blocks ---------- */
.vs-block {
  max-width: var(--max-prose);
  padding: 24px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.vs-block:last-child { border-bottom: 0; }
.vs-block h3 {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--claret);
  margin: 0 0 12px !important;
}
.vs-block p { font-size: 15.5px; }

/* ---------- Author ---------- */
.section-author {
  background: var(--paper-2);
  padding: 56px 32px;
}
.author-card {
  display: flex;
  gap: 24px;
  max-width: 720px;
  align-items: flex-start;
}
.author-mono {
  width: 72px; height: 72px;
  flex-shrink: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.04em;
  display: flex; align-items: center; justify-content: center;
}
.author-body { flex: 1; }
.author-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 2px;
  color: var(--ink);
}
.author-title {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  margin: 0 0 12px;
  text-transform: uppercase;
  font-weight: 500;
}
.author-bio { font-size: 15px; color: var(--ink-2); margin: 0; max-width: none; }
.section-author .disclosure {
  max-width: 720px;
  margin-top: 28px !important;
}

/* ---------- Sources ---------- */
.section-sources { padding-top: 56px; padding-bottom: 80px; }
.sources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 1000px;
}
@media (max-width: 720px) {
  .sources-grid { grid-template-columns: 1fr; gap: 28px; }
}
.sources-col { }
.sources-heading-sub {
  font-family: var(--f-display) !important;
  font-style: italic;
  font-weight: 500;
  font-size: 18px !important;
  margin: 0 0 12px !important;
  color: var(--ink);
}
.sources-list { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.sources-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--rule-soft);
  word-break: break-word;
}
.sources-list li:last-child { border-bottom: 0; }
.sources-list a {
  color: var(--ink-2);
  text-decoration: none;
  font-family: var(--f-mono);
  font-size: 12.5px;
}
.sources-list a:hover { color: var(--claret); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper-2);
  padding: 56px 32px 24px;
}
.footer-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}
.footer-mark {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--paper);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.footer-small { font-size: 0.65em; vertical-align: 0.2em; color: var(--claret); }
.footer-tagline {
  font-size: 13px;
  color: rgba(251,249,244,0.6);
  font-style: italic;
  margin: 0;
}
.footer-heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251,249,244,0.45);
  margin: 0 0 14px;
}
.footer-list { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.footer-list li { padding: 4px 0; }
.footer-list a {
  color: rgba(251,249,244,0.78);
  text-decoration: none;
  transition: color 120ms ease;
}
.footer-list a:hover { color: var(--paper); }
.footer-bottom {
  max-width: var(--max-wide);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(251,249,244,0.12);
  font-size: 12.5px;
  color: rgba(251,249,244,0.5);
}
.footer-bottom a { color: rgba(251,249,244,0.7); }

/* ---------- Mobile refinements ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .data-table { font-size: 13px; }
  .data-table thead th { padding: 10px 12px; font-size: 11px; }
  .data-table tbody td, .data-table tbody th { padding: 12px; }
  .vendor-profile.featured { margin: -48px -16px 0; padding: 48px 16px; }
  .vendor-profile.featured::before { top: 20px; right: 16px; }
  .author-card { gap: 18px; }
  .author-mono { width: 56px; height: 56px; font-size: 22px; }
  .recommendation-list li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .rec-value { text-align: left; }
}

/* ---------- Print ---------- */
@media print {
  .masthead, .site-footer, .skip-link { display: none; }
  body { background: white; color: black; }
  .section-prose, .section-answer, .section-profiles, .section-recommendation,
  .section-author, .section-changelog { padding: 24px 0; border-bottom: 1px solid #ccc; }
  .vendor-profile.featured { background: none; }
  a { color: black; text-decoration: underline; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   EDITORIAL PASS — May 15, 2026
   Components: framework, jump-nav, rating badge, pricing,
   red flags, discovery, PAA, glossary
   ========================================================= */

/* ---------- Lede paragraph ---------- */
.lede {
  font-family: var(--f-display);
  font-weight: 350;
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 820px !important;
  margin: 0 0 36px !important;
  letter-spacing: -0.005em;
  font-feature-settings: "kern" 1;
  font-style: italic;
}

/* ---------- Selection Framework (How to Choose) ---------- */
.section-framework {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.framework-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: framework;
  max-width: 920px;
}
.framework-step {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule-soft);
  position: relative;
}
.framework-step:last-child { border-bottom: 0; }
.framework-step .step-number {
  font-family: var(--f-display);
  font-weight: 350;
  font-style: italic;
  font-size: clamp(54px, 6vw, 80px);
  line-height: 1;
  color: var(--claret);
  letter-spacing: -0.04em;
  font-variant-numeric: lining-nums tabular-nums;
  align-self: start;
}
.framework-step .step-body { padding-top: 8px; }
.framework-step .step-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.012em;
  margin: 0 0 10px;
  color: var(--ink);
}
.framework-step p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
  max-width: 720px;
}
.framework-step p em {
  font-style: italic;
  color: var(--claret);
  font-weight: 500;
}
@media (max-width: 720px) {
  .framework-step { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .framework-step .step-number { font-size: 44px; }
}

/* ---------- Jump-to-vendor mini-nav ---------- */
.vendor-nav {
  margin: 0 0 56px;
  padding: 24px 28px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--claret);
}
.vendor-nav-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.vendor-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px 16px;
}
@media (max-width: 960px) {
  .vendor-nav-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .vendor-nav-list { grid-template-columns: 1fr; }
}
.vendor-nav-list li { padding: 0; }
.vendor-nav-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  text-decoration: none;
  color: var(--ink-2);
  font-size: 14px;
  border-bottom: 1px solid transparent;
  transition: all 150ms ease;
}
.vendor-nav-list a:hover {
  color: var(--claret);
  border-bottom-color: var(--claret);
}
.vn-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 14px;
  color: var(--claret);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  min-width: 22px;
}
.vn-name { font-weight: 500; }

/* ---------- Profile rating badge ---------- */
.profile-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 6px 14px;
  background: var(--paper);
  border: 1px solid var(--claret);
  font-size: 13px;
}
.rating-stars {
  color: var(--claret);
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1;
}
.rating-value {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  font-feature-settings: "tnum" 1;
}
.rating-divider { color: var(--ink-4); margin: 0 2px; }
.rating-count {
  font-size: 12.5px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.rating-link {
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1px solid var(--rule);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  color: var(--claret);
  letter-spacing: 0.02em;
}
.rating-link:hover { color: var(--claret-2); }

/* ---------- Pricing table ---------- */
.pricing-table .num,
.pricing-table tbody td:nth-child(2),
.pricing-table tbody td:nth-child(3) {
  font-family: var(--f-mono);
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink);
}
.pricing-table tbody td:nth-child(2) {
  font-weight: 600;
}

/* ---------- Red flags ---------- */
.section-red-flags {
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.red-flags-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: redflag;
  max-width: 920px;
}
.red-flags-list li {
  position: relative;
  counter-increment: redflag;
  padding: 18px 0 18px 56px;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}
.red-flags-list li:last-child { border-bottom: 0; }
.red-flags-list li::before {
  content: counter(redflag, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 18px;
  width: 40px;
  font-family: var(--f-display);
  font-weight: 500;
  font-style: italic;
  font-size: 24px;
  color: var(--claret);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.red-flags-list li strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

/* ---------- Discovery questions ---------- */
.section-discovery {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
}
.discovery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 40px;
  max-width: 1100px;
}
@media (max-width: 720px) {
  .discovery-grid { grid-template-columns: 1fr; gap: 28px; }
}
.discovery-col { }
.discovery-subhead {
  font-family: var(--f-display) !important;
  font-style: italic;
  font-weight: 500;
  font-size: 20px !important;
  margin: 0 0 14px !important;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
}
.discovery-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: dq;
  font-size: 14.5px;
  line-height: 1.55;
}
.discovery-list li {
  position: relative;
  padding: 12px 0 12px 36px;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink-2);
  counter-increment: dq-internal;
}
.discovery-list li:last-child { border-bottom: 0; }
.discovery-list li::before {
  content: counter(dq-internal);
  position: absolute;
  left: 0; top: 14px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  font-variant-numeric: tabular-nums;
}
/* Reset counter per column with start attr */
.discovery-list[start="1"] { counter-reset: dq-internal 0; }
.discovery-list[start="5"] { counter-reset: dq-internal 4; }
.discovery-list[start="9"] { counter-reset: dq-internal 8; }
.discovery-list[start="12"] { counter-reset: dq-internal 11; }

.callout-prose {
  max-width: 820px;
  margin: 32px 0 0 !important;
  padding: 18px 22px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  border-left: 4px solid var(--claret);
}

/* ---------- People Also Ask ---------- */
.section-paa { background: var(--paper); }
.paa-item {
  max-width: 820px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.paa-item:last-child { border-bottom: 0; }
.paa-item h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 19px !important;
  line-height: 1.3;
  margin: 0 0 10px !important;
  color: var(--ink);
  position: relative;
  padding-left: 26px;
}
.paa-item h3::before {
  content: "?";
  position: absolute;
  left: 0; top: 1px;
  width: 18px; height: 18px;
  background: var(--claret);
  color: var(--paper);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
}
.paa-item p {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0;
  max-width: none;
  line-height: 1.6;
}

/* ---------- Glossary ---------- */
.section-glossary { background: var(--paper-2); }
.glossary-list {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0 32px;
  max-width: 1000px;
  margin: 0;
}
@media (max-width: 720px) {
  .glossary-list { grid-template-columns: 1fr; gap: 0; }
}
.glossary-list dt {
  font-family: var(--f-display);
  font-weight: 500;
  font-style: italic;
  font-size: 18px;
  color: var(--claret);
  padding: 16px 0 4px;
  border-top: 1px solid var(--rule-soft);
  letter-spacing: -0.005em;
}
.glossary-list dt:first-of-type { border-top-color: var(--ink); }
.glossary-list dd {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
  padding: 16px 0;
  margin: 0;
  border-top: 1px solid var(--rule-soft);
}
.glossary-list dd:first-of-type { border-top-color: var(--ink); }
@media (max-width: 720px) {
  .glossary-list dt {
    padding: 16px 0 4px;
    border-top: 1px solid var(--rule-soft);
  }
  .glossary-list dd {
    padding: 0 0 16px;
    border-top: 0;
  }
}

/* ---------- Print refinements for new sections ---------- */
@media print {
  .vendor-nav { display: none; }
  .section-framework, .section-red-flags, .section-discovery,
  .section-paa, .section-glossary { background: white; }
  .callout-prose { background: white; color: black; border: 1px solid #ccc; }
}
