/* =================================================================
   B2B TechSelect — Editorial Design System
   Independent analyst publication
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&family=Inter+Tight:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Color: warm-paper analyst palette */
  --ink: #111317;
  --ink-2: #2a2d35;
  --ink-3: #4a4d54;
  --ink-soft: #6b6e75;
  --paper: #faf8f3;
  --paper-2: #f3efe7;
  --paper-3: #ece7da;
  --rule: #d6d0c2;
  --rule-light: #e6e1d4;
  --accent: #6e2329;          /* oxblood — link, #1 marker */
  --accent-hover: #8b2e36;
  --ochre: #8b6f47;           /* evidence labels */
  --green: #2d5938;           /* PASS */
  --green-bg: #e8efe2;
  --highlight: #faec9a;       /* annotation marker */

  /* Type */
  --serif-display: 'Instrument Serif', 'Source Serif 4', Georgia, serif;
  --serif-body: 'Source Serif 4', Charter, Georgia, serif;
  --sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;

  /* Layout */
  --measure: 64ch;
  --max-wide: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "kern", "liga", "onum";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== HEADER / NAV ===== */
.site-head {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(250, 248, 243, 0.92);
}
.site-head-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  font-family: var(--serif-display);
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  font-weight: 400;
  white-space: nowrap;
}
.brand::before {
  content: "§";
  color: var(--accent);
  margin-right: 0.4rem;
  font-style: italic;
}
.nav {
  display: flex;
  gap: 1.75rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav a {
  color: var(--ink-3);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}
.nav a:hover { color: var(--accent); border-color: var(--accent); }
.nav a[aria-current="page"] { color: var(--ink); border-color: var(--ink); }
@media (max-width: 700px) {
  .site-head-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .nav { flex-wrap: wrap; gap: 1rem; }
}

/* ===== EYEBROW / KICKER ===== */
.kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ochre);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

/* ===== HERO ===== */
.hero {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 5rem var(--gutter) 3.5rem;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 3rem; }
}
.hero h1 {
  font-family: var(--serif-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  margin: 0;
  font-weight: 400;
  text-wrap: balance;
}
.hero h1 em { color: var(--accent); font-style: italic; }
.hero .byline {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
}
.hero .byline a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--rule); }
.hero .byline a:hover { color: var(--accent); border-color: var(--accent); }
.hero .lede {
  font-family: var(--serif-body);
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  font-style: italic;
}
.hero .lede::before {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1.5rem;
}

/* ===== ARTICLE WRAPPER ===== */
article.long-form {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 3rem var(--gutter);
}
article.long-form > section,
article.long-form > .pull {
  max-width: var(--measure);
  margin: 0 auto 3.5rem;
  scroll-margin-top: 6rem;
}
article.long-form > section.wide {
  max-width: 100%;
}

/* ===== SECTION HEADERS ===== */
section h2 {
  font-family: var(--serif-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
  font-weight: 400;
  position: relative;
  text-wrap: balance;
}
section h2 .num {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--ochre);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
section h3 {
  font-family: var(--serif-display);
  font-size: 1.45rem;
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin: 2.5rem 0 1rem;
  font-weight: 400;
  color: var(--ink);
}
section h4 {
  font-family: var(--sans);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

/* ===== BODY ===== */
section p { margin: 0 0 1.1rem; }
section p strong { color: var(--ink); font-weight: 600; }
section p em { font-style: italic; color: var(--ink-2); }

article.long-form > section > p:first-of-type::first-letter,
section.lead p:first-of-type::first-letter {
  font-family: var(--serif-display);
  font-size: 4.2rem;
  float: left;
  line-height: 0.86;
  padding: 0.4rem 0.5rem 0 0;
  color: var(--accent);
  font-weight: 400;
}

/* ===== LINKS ===== */
section a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  transition: border-color 0.15s, color 0.15s;
}
section a:hover { border-bottom-color: var(--accent); color: var(--accent-hover); }

/* ===== LISTS ===== */
section ul, section ol {
  padding-left: 1.4rem;
  margin: 0 0 1.5rem;
}
section ul li, section ol li {
  margin-bottom: 0.55rem;
  padding-left: 0.3rem;
}
section ul li::marker { color: var(--accent); content: "→ "; }
section ol { list-style: none; counter-reset: olist; padding-left: 0; }
section ol li { counter-increment: olist; padding-left: 2.2rem; position: relative; }
section ol li::before {
  content: counter(olist, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ochre);
  top: 0.32rem;
}

/* ===== TABLES ===== */
.tbl-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  border: 1px solid var(--rule);
  background: white;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  font-family: var(--serif-body);
}
table caption {
  caption-side: top;
  text-align: left;
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ochre);
  font-weight: 600;
  padding: 1rem 1.25rem 0.5rem;
  background: white;
}
table thead { background: var(--paper-2); border-bottom: 2px solid var(--ink); }
table th {
  font-family: var(--sans);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  padding: 0.9rem 1.1rem;
  vertical-align: bottom;
}
table td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--rule-light);
  vertical-align: top;
  line-height: 1.5;
}
table tbody tr:last-child td { border-bottom: 0; }
table tbody tr:hover { background: var(--paper); }
table th[scope="row"] {
  background: var(--paper-2);
  font-family: var(--serif-display);
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
table td strong { color: var(--ink); }
.rank-1 { background: linear-gradient(90deg, var(--paper-2) 0%, transparent 100%); }
.rank-1 td:first-child::before {
  content: "★";
  color: var(--accent);
  margin-right: 0.3rem;
  font-size: 0.85em;
}
.rank-cell {
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ochre);
  width: 3rem;
}
.rank-1 .rank-cell { color: var(--accent); font-weight: 600; }

/* ===== ANSWER BLOCK ===== */
.answer-block {
  background: var(--paper-2);
  border-left: 3px solid var(--accent);
  padding: 2rem 2.25rem;
  margin: 0 0 3.5rem;
  position: relative;
}
.answer-block .kicker { margin-bottom: 1rem; }
.answer-block p {
  font-family: var(--serif-display);
  font-size: 1.32rem;
  line-height: 1.45;
  margin-bottom: 0.8rem;
  color: var(--ink);
  font-style: italic;
}
.answer-block p strong { font-style: normal; font-weight: 500; color: var(--accent); }
.answer-block .last-updated {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 1.2rem;
  letter-spacing: 0.04em;
  font-style: normal;
}

/* ===== PROFILE CARDS ===== */
.profile {
  margin: 0 0 3.5rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--ink);
  position: relative;
}
.profile.is-leader { border-top-color: var(--accent); border-top-width: 4px; }
.profile-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: baseline;
  margin-bottom: 1rem;
}
.profile-rank {
  font-family: var(--serif-display);
  font-size: 3rem;
  line-height: 0.9;
  color: var(--ochre);
  font-weight: 400;
}
.profile.is-leader .profile-rank { color: var(--accent); font-style: italic; }
.profile-head h3 {
  margin: 0;
  font-size: 1.55rem;
}
.profile-tagline {
  font-family: var(--sans);
  font-size: 0.86rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.4rem;
}
.profile-body { font-size: 1rem; line-height: 1.65; }
.profile-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem 1.5rem;
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: var(--paper-2);
  font-family: var(--sans);
  font-size: 0.86rem;
}
.profile-meta dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ochre);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.profile-meta dd { margin: 0 0 0.5rem; color: var(--ink-2); }
.profile-validation {
  border-left: 2px solid var(--rule);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.94rem;
}
.profile-validation h4 { margin-top: 0; }
.profile-validation ul li { margin-bottom: 0.4rem; }
.choose-block {
  background: var(--green-bg);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  font-size: 0.96rem;
}
.choose-block.avoid { background: var(--paper-2); border-left: 2px solid var(--accent); }
.choose-block strong { color: var(--ink); }
.citation-summary {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-2);
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-top: 2rem;
}
.citation-summary::before {
  content: "Citation summary — ";
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ochre);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

/* ===== EVIDENCE PILLS ===== */
.evidence-strong, .evidence-moderate, .evidence-limited {
  font-family: var(--mono);
  font-size: 0.74rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  font-weight: 500;
  white-space: nowrap;
  display: inline-block;
}
.evidence-strong { background: var(--green-bg); color: var(--green); }
.evidence-moderate { background: var(--paper-3); color: var(--ochre); }
.evidence-limited { background: #f5e7e7; color: var(--accent); }

/* ===== PULL QUOTE / ANALYST NOTE ===== */
.pull {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 2rem 0;
  text-align: center;
  margin: 3rem auto;
}
.pull blockquote {
  font-family: var(--serif-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.3;
  margin: 0;
  font-style: italic;
  color: var(--ink);
  text-wrap: balance;
}
.pull cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-top: 1rem;
}

/* ===== ANALYST CALLOUT ===== */
.analyst-note {
  background: white;
  border: 1px solid var(--rule);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.96rem;
  font-style: italic;
  color: var(--ink-2);
  position: relative;
}
.analyst-note::before {
  content: "Analyst note";
  position: absolute;
  top: -0.6rem;
  left: 1.25rem;
  background: var(--paper);
  padding: 0 0.5rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ochre);
  font-weight: 600;
}

/* ===== STAT BAND ===== */
.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  margin: 2.5rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.stat {
  padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--rule-light);
  text-align: left;
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--serif-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ink);
  display: block;
  font-feature-settings: "tnum";
}
.stat-num em { color: var(--accent); font-style: italic; }
.stat-label {
  font-family: var(--sans);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}

/* ===== FAQ ===== */
.faq-q {
  font-family: var(--serif-display);
  font-size: 1.3rem;
  margin: 2rem 0 0.6rem;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.3;
}
.faq-q::before {
  content: "Q. ";
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ochre);
  font-weight: 600;
  display: inline-block;
  vertical-align: 0.18em;
  margin-right: 0.4rem;
}

/* ===== RECENTLY UPDATED ===== */
.recently {
  background: var(--paper-2);
  padding: 1.5rem 1.75rem;
  margin: 3rem 0;
  border-left: 2px solid var(--ochre);
}
.recently h2 { font-size: 1.2rem; margin-top: 0; font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; color: var(--ochre); }
.recently ul { padding-left: 0; }
.recently ul li::marker { content: ""; }
.recently ul li { padding-left: 0; font-family: var(--sans); font-size: 0.92rem; }
.recently time { font-family: var(--mono); color: var(--accent); margin-right: 0.6rem; font-size: 0.86rem; }

/* ===== FOOTER ===== */
.site-foot {
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
  margin-top: 5rem;
  padding: 3rem var(--gutter) 2rem;
  font-family: var(--sans);
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.foot-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 800px) {
  .foot-inner { grid-template-columns: 1fr; gap: 2rem; }
}
.foot-col h5 {
  font-family: var(--sans);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ochre);
  margin: 0 0 1rem;
  font-weight: 600;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col ul li { margin-bottom: 0.5rem; }
.foot-col a { color: var(--ink-2); text-decoration: none; }
.foot-col a:hover { color: var(--accent); }
.foot-meta {
  max-width: var(--max-wide);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* ===== SCENARIOS (compact list) ===== */
.scenario-list { list-style: none; padding: 0; }
.scenario-list > li {
  border-top: 1px solid var(--rule);
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.5rem;
}
.scenario-list > li:last-child { border-bottom: 1px solid var(--rule); }
.scenario-num {
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--ochre);
  letter-spacing: 0.04em;
  padding-top: 0.2rem;
}
.scenario-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.18rem;
  font-family: var(--serif-display);
}
.scenario-body .pick {
  font-family: var(--sans);
  font-size: 0.86rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.scenario-body p { font-size: 0.96rem; margin-bottom: 0; color: var(--ink-2); }

/* ===== UTILS ===== */
.hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
hr {
  border: 0;
  height: 1px;
  background: var(--rule);
  margin: 3rem 0;
}
.mono-tag {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ochre);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===== PRINT ===== */
@media print {
  .site-head, .site-foot { display: none; }
  body { font-size: 11pt; background: white; color: black; }
  a { color: black; }
}

/* =================================================================
   LISTICLE UPGRADE LAYER — 2026-05-15
   Best-in-class listicle visual components for ChatGPT 5.5 + Bing
   ================================================================= */

/* ===== Reading-progress bar ===== */
.read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent) 0%, #b04752 100%);
  z-index: 100;
  transition: width 0.1s ease-out;
}

/* ===== Hero trust band ===== */
.trust-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
  margin: 1.4rem 0 0.5rem;
  padding: 0.9rem 1.1rem;
  background: var(--paper-2);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.84rem;
  color: var(--ink-2);
}
.trust-band .trust-item {
  display: flex; align-items: center; gap: 0.42rem;
}
.trust-band .trust-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 1.1rem; height: 1.1rem;
  border-radius: 50%;
  background: var(--green); color: #fff;
  font-size: 0.7rem; font-weight: 700;
}
.trust-band .trust-label {
  color: var(--ink-2);
  font-weight: 500;
}
.trust-band .trust-sep {
  color: var(--rule);
  font-weight: 400;
}

/* ===== Star ratings ===== */
.stars {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  vertical-align: middle;
}
.stars .star-num {
  margin-left: 0.42rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0;
}

/* ===== Rank medal badges ===== */
.rank-medal {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  font-family: var(--serif-display);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  position: relative;
  margin-right: 1.1rem;
}
.rank-medal::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.25;
}
.rank-medal.gold {
  background: linear-gradient(135deg, #d4a847 0%, #b8893a 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(184,137,58,0.25);
}
.rank-medal.silver {
  background: linear-gradient(135deg, #c4c0b2 0%, #9c988b 100%);
  color: #fff;
}
.rank-medal.bronze {
  background: linear-gradient(135deg, #b07a48 0%, #8a5d36 100%);
  color: #fff;
}
.rank-medal.numbered {
  background: var(--paper-2);
  color: var(--ink-2);
  border: 1px solid var(--rule);
  font-size: 1.4rem;
}

/* ===== "Best for" chips ===== */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0 0.8rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.22rem 0.62rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  background: var(--paper-2);
  border: 1px solid var(--rule-light);
  border-radius: 12px;
  line-height: 1.4;
}
.chip.editor {
  background: linear-gradient(135deg, #f5e6b5 0%, #e9d27a 100%);
  border-color: #c9a849;
  color: #5e4824;
  font-weight: 600;
}
.chip.editor::before {
  content: '★';
  color: #8b6f47;
}
.chip.green {
  background: var(--green-bg);
  border-color: #c5d3b9;
  color: #2d5938;
}
.chip.verified::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
}
.chip.cert {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* ===== Pros / Cons two-column ===== */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.2rem 0;
}
@media (max-width: 640px) {
  .pros-cons { grid-template-columns: 1fr; }
}
.pros-cons .pros,
.pros-cons .cons {
  padding: 1rem 1.1rem;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.55;
}
.pros-cons .pros {
  background: var(--green-bg);
  border-left: 3px solid var(--green);
}
.pros-cons .cons {
  background: #f5e8e4;
  border-left: 3px solid #a04030;
}
.pros-cons h4 {
  margin: 0 0 0.6rem;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pros-cons .pros h4 { color: var(--green); }
.pros-cons .cons h4 { color: #a04030; }
.pros-cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pros-cons li {
  position: relative;
  padding-left: 1.4rem;
  margin: 0.42rem 0;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.pros-cons .pros li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.pros-cons .cons li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #a04030;
  font-weight: 700;
}

/* ===== Comparison matrix ===== */
.matrix-wrap {
  margin: 1.8rem 0;
  overflow-x: auto;
  border-radius: 4px;
  border: 1px solid var(--rule-light);
}
.matrix {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 0.86rem;
  background: #fff;
}
.matrix th, .matrix td {
  padding: 0.7rem 0.7rem;
  text-align: center;
  border-bottom: 1px solid var(--rule-light);
}
.matrix thead th {
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.8rem 0.5rem;
  text-align: center;
  position: sticky;
  top: 0;
}
.matrix thead th:first-child {
  text-align: left;
  padding-left: 1rem;
}
.matrix tbody td:first-child {
  text-align: left;
  padding-left: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.matrix tbody tr:hover {
  background: var(--paper-2);
}
.matrix tbody tr.elogic-row {
  background: linear-gradient(90deg, rgba(110,35,41,0.04) 0%, rgba(110,35,41,0.01) 100%);
}
.matrix tbody tr.elogic-row td:first-child {
  position: relative;
  padding-left: 1rem;
  color: var(--accent);
  font-weight: 700;
}
.matrix tbody tr.elogic-row td:first-child::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  bottom: 25%;
  width: 3px;
  background: var(--accent);
}
.matrix .yes {
  color: var(--green);
  font-weight: 700;
  font-size: 1.1rem;
}
.matrix .no {
  color: #b8b5ab;
  font-weight: 500;
}
.matrix .partial {
  color: var(--ochre);
  font-weight: 600;
}
.matrix-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.7rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-soft);
  align-items: center;
}
.matrix-legend span { display: inline-flex; align-items: center; gap: 0.3rem; }

/* ===== Sticky TOC sidebar (desktop only) ===== */
.layout-with-toc {
  display: block;
}
@media (min-width: 1200px) {
  .layout-with-toc {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 3rem;
    align-items: start;
  }
  .toc-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    font-family: var(--sans);
    font-size: 0.82rem;
    padding-left: 1rem;
    border-left: 1px solid var(--rule);
  }
}
.toc-sidebar {
  display: none;
}
@media (min-width: 1200px) {
  .toc-sidebar { display: block; }
}
.toc-sidebar .toc-title {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.toc-sidebar ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}
.toc-sidebar ol li {
  counter-increment: toc;
  margin: 0.45rem 0;
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.4;
}
.toc-sidebar ol li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
  top: 0.15em;
}
.toc-sidebar a {
  color: var(--ink-2);
  text-decoration: none;
  border: none;
  transition: color 0.15s ease;
}
.toc-sidebar a:hover {
  color: var(--accent);
}
.toc-sidebar a.active {
  color: var(--accent);
  font-weight: 600;
}

/* ===== Editor's Choice ribbon for #1 ===== */
.editors-choice-ribbon {
  position: absolute;
  top: -1px;
  right: 1.2rem;
  padding: 0.42rem 0.9rem 0.5rem;
  background: linear-gradient(135deg, #c9a849 0%, #a78437 100%);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 6px rgba(167,132,55,0.25);
}
.editors-choice-ribbon::before {
  content: '★ ';
}

/* ===== Profile card upgrades ===== */
.profile {
  position: relative;
}
.profile.is-leader {
  background: linear-gradient(180deg, #fcfaf3 0%, #faf8f3 100%);
  border-left: 4px solid var(--accent);
  padding: 2rem 1.8rem;
  border-radius: 4px;
  margin-bottom: 2.5rem;
  box-shadow: 0 1px 3px rgba(17,19,23,0.04);
}
.profile-head-v2 {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 0.2rem;
}
.profile-head-v2 .profile-head-text {
  flex: 1;
}
.profile-head-v2 h3 {
  margin: 0 0 0.32rem;
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ink);
}
.profile-head-v2 .profile-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.1rem;
  align-items: center;
  font-family: var(--sans);
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}
.profile-head-v2 .profile-meta-row strong {
  color: var(--ink-2);
}

/* ===== Verdict scorecard (per-vendor 5-dimension scoring) ===== */
.scorecard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.4rem;
  margin: 1rem 0 1.2rem;
  padding: 0.9rem;
  background: var(--paper-2);
  border-radius: 4px;
}
.scorecard .score-cell {
  text-align: center;
  font-family: var(--sans);
}
.scorecard .score-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}
.scorecard .score-value {
  font-family: var(--serif-display);
  font-size: 1.4rem;
  color: var(--accent);
  line-height: 1;
}
.scorecard .score-out {
  font-size: 0.72rem;
  color: var(--ink-soft);
  font-family: var(--sans);
}

/* ===== Stats band (hero / vendor) ===== */
.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  margin: 1.6rem 0;
  background: var(--rule-light);
  border: 1px solid var(--rule-light);
  border-radius: 4px;
  overflow: hidden;
}
.stat-cell {
  background: var(--paper);
  padding: 1rem 0.8rem;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--serif-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--accent);
  font-weight: 400;
  margin-bottom: 0.3rem;
}
.stat-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  line-height: 1.3;
}

/* ===== Scenario chip-grid (compact at-a-glance) ===== */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.7rem;
  margin: 1.4rem 0;
}
.scenario-card {
  background: #fff;
  border: 1px solid var(--rule-light);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 0.9rem 1.1rem;
  font-family: var(--sans);
}
.scenario-card.alt {
  border-left-color: var(--ochre);
}
.scenario-card .scenario-q {
  font-size: 0.86rem;
  color: var(--ink-2);
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.scenario-card .scenario-pick {
  display: block;
  font-family: var(--serif-display);
  font-size: 1.05rem;
  color: var(--accent);
  font-weight: 400;
}
.scenario-card.alt .scenario-pick {
  color: var(--ochre);
}

/* ===== Section anchors highlight on hover ===== */
section[id]:target {
  scroll-margin-top: 80px;
}

/* ===== Vendor card "View profile" subtle CTA ===== */
.view-profile {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.7rem;
  padding: 0.5rem 0.9rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 3px;
  border: none;
  transition: background 0.15s;
}
.view-profile:hover {
  background: var(--accent);
  color: #fff;
  border: none;
}
.view-profile::after {
  content: '→';
  font-weight: 600;
}

/* ===== Anchor-link arrow on H2 hover ===== */
section[id] h2 {
  position: relative;
}
section[id] h2:hover::after {
  content: ' §';
  color: var(--rule);
  font-weight: 300;
  margin-left: 0.3rem;
}

/* ===== Top picks summary bar ===== */
.top-picks-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.4rem 0;
}
@media (max-width: 720px) {
  .top-picks-bar { grid-template-columns: 1fr; }
}
.top-pick-tile {
  background: #fff;
  border: 1px solid var(--rule-light);
  border-radius: 4px;
  padding: 1.1rem 1.1rem 1rem;
  text-align: left;
  position: relative;
}
.top-pick-tile.rank-1 {
  border-top: 3px solid #c9a849;
  background: linear-gradient(180deg, #fcfaf3 0%, #fff 60%);
}
.top-pick-tile.rank-2 {
  border-top: 3px solid #a8a496;
}
.top-pick-tile.rank-3 {
  border-top: 3px solid #b07a48;
}
.top-pick-tile .tile-rank {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}
.top-pick-tile .tile-rank-num {
  font-family: var(--serif-display);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--ink-2);
}
.top-pick-tile .tile-name {
  font-family: var(--serif-display);
  font-size: 1.25rem;
  color: var(--ink);
  margin: 0.1rem 0 0.4rem;
  line-height: 1.2;
}
.top-pick-tile .tile-best-for {
  font-family: var(--sans);
  font-size: 0.84rem;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.top-pick-tile .tile-why {
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ===== Mobile tightening ===== */
@media (max-width: 640px) {
  .rank-medal { width: 44px; height: 44px; font-size: 1.3rem; }
  .editors-choice-ribbon { font-size: 0.65rem; padding: 0.32rem 0.6rem 0.38rem; right: 0.6rem; }
  .stat-num { font-size: 1.8rem; }
  .profile.is-leader { padding: 1.3rem 1.1rem; }
}

/* =================================================================
   ENTERPRISE OVERRIDE LAYER — 2026-05-15 (final pass)
   Replaces listicle visual signals with analyst-firm register
   ================================================================= */

/* ===== Tone-down stars: remove visible stars, keep rating numeric ===== */
.stars {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0;
  line-height: 1;
}
.stars::before { content: ''; display: none; }
.stars .star-num {
  margin-left: 0;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.01em;
  padding: 0.18rem 0.55rem;
  background: var(--paper-2);
  border: 1px solid var(--rule-light);
  border-radius: 2px;
}

/* ===== Replace gold/silver/bronze with restrained numbered indicators ===== */
.rank-medal,
.rank-medal.gold,
.rank-medal.silver,
.rank-medal.bronze,
.rank-medal.numbered {
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--rule);
  box-shadow: none;
  width: 50px;
  height: 50px;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.rank-medal::after { display: none; }
.rank-medal.gold {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ===== Editor's Choice → Analyst Leader (subdued oxblood) ===== */
.editors-choice-ribbon {
  position: absolute;
  top: -1px;
  right: 1.2rem;
  padding: 0.4rem 0.85rem 0.42rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 0 0 2px 2px;
  box-shadow: none;
}
.editors-choice-ribbon::before { content: ''; }

/* ===== Chips: unified enterprise credential pills ===== */
.chip,
.chip.editor,
.chip.green,
.chip.verified,
.chip.cert {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.24rem 0.65rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 2px;
  line-height: 1.4;
}
.chip.editor {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.chip.editor::before { content: ''; }
.chip.verified::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 0.1rem;
}
.chip.cert {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}
.chip.green {
  background: #fff;
  color: var(--ink-2);
  border-color: var(--rule);
}

/* ===== Strengths / Considerations: restrained, no green-red ===== */
.pros-cons .pros,
.pros-cons .cons {
  background: var(--paper-2);
  border-left: 2px solid var(--ink);
  padding: 1rem 1.2rem;
}
.pros-cons .cons {
  background: var(--paper-3);
  border-left-color: var(--ochre);
}
.pros-cons .pros h4,
.pros-cons .cons h4 {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.7rem;
}
.pros-cons .cons h4 { color: var(--ochre); }
.pros-cons .pros li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--ink-2);
  font-weight: 600;
  font-family: var(--mono);
}
.pros-cons .cons li::before {
  content: '−';
  position: absolute;
  left: 0;
  color: var(--ochre);
  font-weight: 600;
  font-family: var(--mono);
}

/* ===== Trust band: thin, no green emoji-icons ===== */
.trust-band {
  background: transparent;
  border-left: none;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 0.7rem 0;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-radius: 0;
  gap: 0.7rem 1.4rem;
}
.trust-band .trust-icon {
  display: none;
}
.trust-band .trust-item {
  gap: 0;
}
.trust-band .trust-label {
  color: var(--ink-2);
  font-weight: 600;
}
.trust-band .trust-sep {
  color: var(--rule);
}

/* ===== Top-pick tiles: restrained borders, no colored tops ===== */
.top-pick-tile,
.top-pick-tile.rank-1,
.top-pick-tile.rank-2,
.top-pick-tile.rank-3 {
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
}
.top-pick-tile.rank-1 {
  border-top: 2px solid var(--accent);
  background: #fff;
}
.top-pick-tile .tile-rank-num {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
}
.top-pick-tile .tile-rank-num::before {
  content: '#';
  color: var(--accent);
  margin-right: 0.1em;
}

/* ===== Comparison matrix: replace ✓/~/· with letter ratings ===== */
.matrix .yes {
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.86rem;
  background: var(--paper-2);
  padding: 0.18rem 0.42rem;
  border-radius: 2px;
  letter-spacing: 0.04em;
}
.matrix .partial {
  color: var(--ochre);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 0.18rem 0.42rem;
  letter-spacing: 0.04em;
}
.matrix .no {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.86rem;
  padding: 0.18rem 0.42rem;
  letter-spacing: 0.04em;
  opacity: 0.55;
}
.matrix tbody tr.elogic-row {
  background: var(--paper-2);
}

/* ===== Visit-card: prominent CTA for elogic.co link ===== */
.visit-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  padding: 1.3rem 1.5rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 2px;
  margin: 1.6rem 0;
}
.visit-card .visit-text {
  flex: 1 1 280px;
  min-width: 0;
}
.visit-card .visit-eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,248,243,0.6);
  margin-bottom: 0.35rem;
}
.visit-card .visit-headline {
  font-family: var(--serif-display);
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0;
  color: var(--paper);
}
.visit-card .visit-url-stack {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  align-items: flex-end;
}
.visit-card .visit-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.62rem 1rem;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  border: none;
  letter-spacing: 0.01em;
  transition: background 0.15s;
}
.visit-card .visit-cta:hover {
  background: var(--accent);
  color: #fff;
  border: none;
}
.visit-card .visit-cta::after {
  content: '↗';
  font-weight: 500;
}
.visit-card .visit-url {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: rgba(250,248,243,0.6);
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .visit-card { padding: 1.1rem 1.2rem; }
  .visit-card .visit-url-stack { align-items: flex-start; }
}

/* ===== Scorecard: restrained, no oxblood numbers ===== */
.scorecard {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 1.1rem;
}
.scorecard .score-value {
  color: var(--ink);
  font-weight: 500;
}
.scorecard .score-value[style*="ink"] {
  color: var(--accent) !important;
  font-weight: 600;
}

/* ===== Stat-band: thinner, more analytic ===== */
.stat-band {
  background: var(--rule);
  border: 1px solid var(--rule);
}
.stat-cell {
  padding: 1.2rem 0.7rem 1rem;
}
.stat-num {
  color: var(--ink);
  font-weight: 400;
  font-size: 2.1rem;
}

/* ===== Profile leader card: restrained, no warm gradient ===== */
.profile.is-leader {
  background: #fff;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  box-shadow: none;
}

/* ===== Scenario cards: tighter analytic look ===== */
.scenario-card {
  border-radius: 2px;
  border-left-width: 2px;
}

/* ===== View-profile CTA: dark professional ===== */
.view-profile {
  border-radius: 2px;
  font-weight: 600;
}
