/* ==========================================================================
   Define IT Solution — insights.css
   Published Insight cards and the article template.

   The card artwork is a CSS background layered over the existing
   .post-card__thumb, which already renders a dark grid gradient. That
   ordering is the whole missing-image strategy: if the file is not there
   yet, the placeholder underneath simply shows through. There is no
   broken-image icon to handle because there is no <img> to break, and the
   card keeps its 16:9 box either way.
   ========================================================================== */

/* --- card ---------------------------------------------------------------- */
.post-card--live { padding: 0; overflow: hidden; }

/* The card's layout wrapper. It is a <div>, not an <a>: the article link lives
   on the title and is stretched over the card in the category-system block
   below, so the card can also contain a real link to the category archive. */
.post-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--sp-5);
  text-decoration: none;
  color: inherit;
}

/* The thumb is the 16:9 frame and the dark-grid fallback; the <img> sits
   inside it. If the file is missing the <img> removes itself and the frame is
   simply what shows — same box, no broken icon, no layout shift. */
.post-card--live .post-card__thumb { display: block; }
.post-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;                  /* crops, never stretches */
  object-position: center;
  display: block;
  position: relative;
  z-index: 1;
  transform: scale(1);
  transition: transform 620ms var(--ease-out-premium, cubic-bezier(.16, 1, .3, 1));
  will-change: transform;
}

/* Dark wash at the foot of the image so white type below never sits against
   a bright photograph edge. Above the image, hence z-index 2. */
.post-card--live .post-card__thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(4, 8, 14, 0) 42%, rgba(4, 8, 14, 0.72) 100%);
}

.post-card--live h3 { transition: color 240ms var(--ease, ease); }
.post-card__cta { margin-top: auto; padding-top: var(--sp-4); }

/* --- card hover ---------------------------------------------------------- */
.post-card--live:hover .post-card__img,
.post-card--live:focus-within .post-card__img { transform: scale(1.03); }
.post-card--live:hover { border-color: rgba(0, 202, 253, 0.5); }
.post-card--live:hover h3 { color: #EAF6FF; }
.post-card--live:hover .post-card__cta::after { transform: translateX(5px); }

@media (prefers-reduced-motion: reduce) {
  .post-card__img { transition: none; }
  .post-card--live:hover .post-card__img,
  .post-card--live:focus-within .post-card__img { transform: none; }
}

/* --- article ------------------------------------------------------------- */
/* A narrower measure than the rest of the site. Long-form body copy needs
   roughly 65-75 characters a line to stay comfortable; the standard
   container is built for grids and is far too wide for prose. */
.container--reading { max-width: 760px; }

/* The head borrows .page-hero's grid and glow so an article opens the same
   way every other inner page does, rather than looking like a bolted-on blog. */
.article.page-hero { padding-bottom: 0; }
.article__head { padding-block: var(--sp-4) var(--sp-6); }
.article__head .breadcrumbs { padding-top: 0; margin-bottom: var(--sp-6); }
.article__head h1 { margin-bottom: var(--sp-5); }

.article__standfirst {
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
}

.article__meta {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin: 0;
}

.article__hero {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(140deg, var(--ink-700) 0%, rgba(36, 183, 232, 0.35) 160%);
  position: relative;
}
.article__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: relative;
  z-index: 1;
}
/* Same grid placeholder as the cards, so an article without artwork still
   looks deliberate rather than unfinished. */
.article__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.article__body { padding-block: var(--sp-7) var(--sp-8); }
.article__body h2 {
  font-size: var(--fs-h3);
  margin-top: var(--sp-7);
  margin-bottom: var(--sp-3);
}
.article__body > p {
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}
.article__body a { color: #EAF6FF; text-decoration: underline; text-underline-offset: 2px; }
.article__body a:hover { color: var(--define-cyan, #00CAFD); }

.article__list {
  list-style: none;
  margin: 0 0 var(--sp-5);
  padding: 0;
  display: grid;
  gap: var(--sp-3);
}
.article__list li {
  position: relative;
  padding-left: var(--sp-5);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}
/* A hairline rule rather than a bullet: closer to the technical register the
   rest of the site uses. */
.article__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 12px;
  height: 1px;
  background: var(--define-cyan, #00CAFD);
  opacity: 0.7;
}

.article__pull {
  margin: var(--sp-7) 0;
  padding: var(--sp-5) 0 var(--sp-5) var(--sp-5);
  border-left: 2px solid var(--define-cyan, #00CAFD);
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: #EAF6FF;
}

.takeaways {
  margin-top: var(--sp-8);
  padding: var(--sp-6);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.takeaways h2 { font-size: var(--fs-h4); margin: 0 0 var(--sp-4); }
.takeaways ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.takeaways li {
  position: relative;
  padding-left: var(--sp-5);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text-muted);
}
.takeaways li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 7px;
  height: 11px;
  border: solid var(--define-cyan, #00CAFD);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(42deg);
}

.article__services { margin-top: var(--sp-7); }
.article__services h2 { font-size: var(--fs-h4); margin-bottom: var(--sp-4); }
.article__services .pill-row a { text-decoration: none; }

/* --- news-led article blocks --------------------------------------------- */
/* Added for the current-affairs Insight format. Each one reuses a component
   the site already ships — .fact-grid, .steps, .check-list — so the only new
   drawing here is the layer stack. */

/* Figures a news-led piece opens with. The component is the site's; this is
   only the spacing it needs inside a reading-width column. */
.article__body .fact-grid { margin: var(--sp-5) 0 var(--sp-6); }
.article__body .fact { padding: var(--sp-5); }

/* .steps numbers itself with a CSS counter, so nothing in the content has to
   carry "01". Reordering items cannot desynchronise the numbering. */
.article__steps { margin: var(--sp-5) 0 var(--sp-6); }
.article__body .article__steps .step h3 { font-size: var(--fs-h5, 1.0625rem); }

/* Checklist. Real list markup, never an image: it has to be selectable,
   translatable and readable by a screen reader. */
.article__checklist {
  margin-top: var(--sp-7);
  padding: var(--sp-6);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.article__checklist h2 { font-size: var(--fs-h4); margin: 0 0 var(--sp-4); }
.check-list--split li { color: var(--text-muted); line-height: 1.6; }
@media (min-width: 700px) {
  .check-list--split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3) var(--sp-5); }
}

/* Layer stack. The one new drawing: a vertical spine running cyan to violet,
   with a node per layer. It is an <ol> because the order carries the meaning —
   each layer depends on the one above it. The spine is decorative and is drawn
   entirely in pseudo-elements, so nothing here reaches assistive technology. */
.layer-stack {
  list-style: none;
  margin: var(--sp-5) 0 var(--sp-6);
  padding: 0;
  position: relative;
}
.layer-stack::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 1.2em;
  bottom: 1.2em;
  width: 1px;
  background: linear-gradient(180deg,
    var(--define-cyan, #00CAFD) 0%,
    var(--define-blue, #1E6DF5) 48%,
    var(--define-violet, #5C24F2) 100%);
  opacity: 0.55;
}
.layer-stack__item {
  position: relative;
  padding: var(--sp-3) 0 var(--sp-3) var(--sp-6);
  display: grid;
  gap: 3px;
}
.layer-stack__item::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 1.15em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink-700);
  border: 1px solid var(--define-cyan, #00CAFD);
}
/* The node colour walks the brand gradient down the stack, so the visual
   reinforces the argument that the layers are one system rather than a list. */
.layer-stack__item:nth-child(n + 4)::before { border-color: var(--define-blue, #1E6DF5); }
.layer-stack__item:nth-child(n + 7)::before { border-color: var(--define-violet, #5C24F2); }
.layer-stack__name {
  font-weight: 600;
  color: #EAF6FF;
  letter-spacing: 0.01em;
}
.layer-stack__note {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text-muted);
}

/* Source attribution. Required on anything news-led: the reader must be able
   to see whose reporting this rests on and go and read it. */
.article__source {
  margin-top: var(--sp-7);
  padding: var(--sp-5) var(--sp-6);
  border: 1px solid var(--line);
  border-left: 2px solid var(--define-cyan, #00CAFD);
  border-radius: var(--r-md);
  background: rgba(0, 202, 253, 0.03);
}
.article__source h2 {
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin: 0 0 var(--sp-3);
}
.article__source p {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 var(--sp-3);
}
.article__source p:last-child { margin-bottom: 0; }
.article__source a { text-decoration: none; }

/* Inline decorative diagram plus caption. The SVG scales with the column, so
   there is no separate mobile artwork and nothing to go stale. */
.article__figure { margin: var(--sp-6) 0; }
.article__figure-art {
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
}
.article__figure-art svg { display: block; width: 100%; height: auto; }
.article__figure figcaption {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--grey-500);
}

/* Multiple credited sources. The organisation is set apart from the title so a
   reader can see at a glance whose research each claim rests on. */
.source-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.source-list li { display: grid; gap: 2px; }
.source-list__org {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--define-cyan, #00CAFD);
}
.source-list a { font-size: var(--fs-sm); line-height: 1.5; color: #EAF6FF; }

/* A single instruction the reader should leave with. Not a blockquote — it is
   not a quotation, so it must not inherit quotation semantics or styling. */
.article__callout {
  margin: var(--sp-6) 0;
  padding: var(--sp-5);
  border: 1px solid rgba(0, 202, 253, 0.32);
  border-radius: var(--r-md);
  background: rgba(0, 202, 253, 0.05);
}
.article__callout p {
  margin: 0;
  font-size: var(--fs-lg);
  line-height: 1.45;
  font-weight: 600;
  color: #EAF6FF;
  letter-spacing: -0.01em;
}

/* Many routes arriving at one target. Two real lists with a labelled target
   between them, so with stylesheets off it still reads in the right order. */
.converge { margin: var(--sp-5) 0 var(--sp-6); text-align: center; }
.converge__label,
.converge__target {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin: 0 0 var(--sp-3);
}
.converge__vectors,
.converge__downstream {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2);
}
.converge__vectors li,
.converge__downstream li {
  font-size: var(--fs-sm);
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ink-700);
  color: var(--text-muted);
}
.converge__vectors li { border-color: rgba(0, 202, 253, 0.28); color: #EAF6FF; }
/* The funnel: a hairline that narrows the eye from the routes to the target. */
.converge__target {
  position: relative;
  margin: var(--sp-5) 0;
  padding-top: var(--sp-5);
  color: var(--define-cyan, #00CAFD);
}
.converge__target::before {
  content: "";
  position: absolute; left: 50%; top: 0;
  width: 1px; height: var(--sp-4);
  background: linear-gradient(180deg, rgba(0,202,253,0), var(--define-cyan, #00CAFD));
}
.converge__target span {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid var(--define-cyan, #00CAFD);
  border-radius: var(--r-md);
  background: rgba(0, 202, 253, 0.08);
  font-size: var(--fs-base, 1rem);
  letter-spacing: 0.14em;
  color: #EAF6FF;
}
.converge__downstream { margin-top: var(--sp-4); }

/* Attack path with the control that interrupts each stage beside it. The
   control column is deliberate: without it this is a scare diagram, with it
   it is a plan. */
.chain { list-style: none; margin: var(--sp-5) 0 var(--sp-6); padding: 0; position: relative; }
.chain__step {
  position: relative;
  padding: var(--sp-4) 0 var(--sp-4) var(--sp-6);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: var(--sp-2);
}
.chain__step:last-child { border-bottom: 0; }
.chain__step::before {
  content: "";
  position: absolute; left: 6px; top: 1.55em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--define-violet, #5C24F2);
}
/* The spine runs between the nodes rather than the full height, so it reads as
   a progression rather than a bracket. */
.chain__step:not(:last-child)::after {
  content: "";
  position: absolute; left: 10px; top: 2.6em; bottom: -0.4em;
  width: 1px;
  background: rgba(92, 36, 242, 0.4);
}
.chain__name { display: block; font-weight: 600; color: #EAF6FF; }
.chain__note { display: block; font-size: var(--fs-sm); line-height: 1.6; color: var(--text-muted); }
.chain__control {
  display: flex; align-items: baseline; gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-3);
  border-left: 2px solid var(--signal-500, #10B981);
  background: rgba(16, 185, 129, 0.05);
  border-radius: 0 var(--r-sm, 6px) var(--r-sm, 6px) 0;
}
.chain__control-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal-500, #10B981);
  flex: none;
}
.chain__control-name { font-size: var(--fs-sm); color: #EAF6FF; }

/* Two columns once there is room; stacked below, because a two-column diagram
   squeezed onto a phone is worse than an honest single column. */
@media (min-width: 720px) {
  .chain__step {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: center;
    gap: var(--sp-5);
  }
}

@media (max-width: 620px) {
  .article__head { padding-block: var(--sp-6) var(--sp-5); }
  .article__body > p { font-size: 1rem; }
  .takeaways { padding: var(--sp-5); }
  .article__checklist { padding: var(--sp-5); }
  .article__source { padding: var(--sp-5); }
  .article__callout { padding: var(--sp-4); }
  .article__callout p { font-size: 1.0625rem; }
  .converge__vectors li,
  .converge__downstream li { font-size: var(--fs-xs); padding: 5px 11px; }
}

/* ==========================================================================
   CATEGORY SYSTEM
   Card category links, the chip navigation, the category directory and the
   archive hero. Built from the same tokens as the rest of the site — near-black
   panels, hairline borders, cyan for the active state, violet for accents.
   ========================================================================== */

/* --- card: two links, one card ------------------------------------------
   The card used to be a single <a> around everything, which cannot contain the
   category link. Now the title carries the article link and stretches over the
   whole card via ::after, while the category link sits above it on z-index.
   Identical to look at; valid HTML with two real targets. */
.post-card__link { position: static; }
.post-card__title-link {
  color: inherit;
  text-decoration: none;
}
.post-card__title-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;                         /* over the card, under the category */
  border-radius: inherit;
}
.post-card__title-link:focus-visible {
  outline: 2px solid var(--define-cyan, #00CAFD);
  outline-offset: 3px;
  border-radius: var(--r-sm, 4px);
}

/* Meta row wraps rather than overflowing: "Backup & Disaster Recovery" plus a
   reading time plus a date does not fit one line in a three-up grid. */
.post-card__meta { flex-wrap: wrap; row-gap: var(--sp-1); }

.post-card__cat {
  position: relative;
  z-index: 2;                         /* above the stretched title link */
  color: var(--define-cyan, #00CAFD);
  text-decoration: none;
  transition: color 200ms var(--ease, ease);
}
.post-card__cat:hover { color: var(--define-sky, #4AD0FD); text-decoration: underline; }
.post-card__cat:focus-visible {
  outline: 2px solid var(--define-cyan, #00CAFD);
  outline-offset: 2px;
  border-radius: var(--r-sm, 4px);
}

/* The eyebrow above an article headline is a category link. */
.eyebrow__link { color: inherit; text-decoration: none; }
.eyebrow__link:hover { color: var(--define-cyan, #00CAFD); }

/* --- chip navigation ----------------------------------------------------- */
.cat-nav { margin: 0 0 var(--sp-6); }
.cat-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  list-style: none;
  margin: 0;
  padding: 0;
}
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--grey-300, #22304C);
  border-radius: var(--r-pill, 999px);
  background: var(--ink-700, #0B1220);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-600, #B4BED0);
  text-decoration: none;
  white-space: nowrap;
  transition: color 200ms var(--ease, ease),
              border-color 200ms var(--ease, ease),
              background-color 200ms var(--ease, ease),
              transform 200ms var(--ease, ease);
}
.cat-chip:hover {
  color: #EAF6FF;
  border-color: rgba(0, 202, 253, 0.5);
  background: var(--ink-600, #10192C);
  transform: translateY(-1px);
}
.cat-chip:focus-visible {
  outline: 2px solid var(--define-cyan, #00CAFD);
  outline-offset: 2px;
}
.cat-chip--active {
  color: var(--define-black, #030508);
  background: var(--define-cyan, #00CAFD);
  border-color: var(--define-cyan, #00CAFD);
}
.cat-chip--active:hover {
  color: var(--define-black, #030508);
  background: var(--define-sky, #4AD0FD);
  border-color: var(--define-sky, #4AD0FD);
}
.cat-chip__count {
  display: inline-block;
  min-width: 1.4em;
  padding: 0 0.35em;
  border-radius: var(--r-pill, 999px);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9em;
  text-align: center;
  color: inherit;
}
.cat-chip--active .cat-chip__count { background: rgba(3, 5, 8, 0.22); }

/* Mobile: one scrollable row rather than a wall of stacked chips. The row
   scrolls, never the page. */
@media (max-width: 720px) {
  .cat-nav__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    /* Bleed to the viewport edge so the row reads as scrollable, without
       letting it widen the page. */
    margin-inline: calc(var(--sp-5) * -1);
    padding-inline: var(--sp-5);
    padding-bottom: var(--sp-2);
  }
  .cat-nav__list::-webkit-scrollbar { display: none; }
  .cat-nav__list > li { scroll-snap-align: start; }
  .cat-chip:hover { transform: none; }
}

/* --- category directory -------------------------------------------------- */
.explore-more { margin-top: var(--sp-6); }
.cat-dir {
  border: 1px solid var(--grey-300, #22304C);
  border-radius: var(--r-lg, 14px);
  background: var(--ink-700, #0B1220);
  padding: var(--sp-5);
  position: relative;
  overflow: hidden;
}
/* Accent line along the top edge — the same cyan-to-violet run used elsewhere. */
.cat-dir::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    var(--define-cyan, #00CAFD) 0%,
    var(--define-violet, #5C24F2) 55%,
    transparent 100%);
  opacity: 0.7;
}
.cat-dir__head { margin: 0 0 var(--sp-4); }
.cat-dir__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-1) var(--sp-6);
}
.cat-dir__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-2);
  border-bottom: 1px solid var(--grey-200, #1A2740);
  text-decoration: none;
  color: var(--text-body, #E5E7EB);
  transition: color 200ms var(--ease, ease),
              padding-left 240ms var(--ease, ease),
              border-color 200ms var(--ease, ease);
}
.cat-dir__row:hover {
  color: #EAF6FF;
  padding-left: var(--sp-4);
  border-color: rgba(0, 202, 253, 0.45);
}
.cat-dir__row:focus-visible {
  outline: 2px solid var(--define-cyan, #00CAFD);
  outline-offset: -2px;
  border-radius: var(--r-sm, 4px);
}
.cat-dir__row--active { color: var(--define-cyan, #00CAFD); }
.cat-dir__name { font-size: var(--fs-sm); }
.cat-dir__count {
  flex: none;
  min-width: 2em;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--grey-300, #22304C);
  border-radius: var(--r-pill, 999px);
  background: var(--ink-800, #070B12);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-align: center;
  color: var(--grey-500, #707887);
  transition: color 200ms var(--ease, ease), border-color 200ms var(--ease, ease);
}
.cat-dir__row:hover .cat-dir__count,
.cat-dir__row--active .cat-dir__count {
  color: var(--define-cyan, #00CAFD);
  border-color: rgba(0, 202, 253, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .cat-chip, .cat-dir__row { transition: none; }
  .cat-chip:hover { transform: none; }
  .cat-dir__row:hover { padding-left: var(--sp-2); }
}

/* --- category archive hero ----------------------------------------------- */
.cat-hero__lede { max-width: 62ch; }
.cat-hero__count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5em;
  margin-top: var(--sp-5);
  padding: 0.4rem 1rem;
  border: 1px solid var(--grey-300, #22304C);
  border-radius: var(--r-pill, 999px);
  background: rgba(0, 202, 253, 0.06);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-600, #B4BED0);
}
.cat-hero__count > span {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--define-cyan, #00CAFD);
}

/* --- comparison block ----------------------------------------------------
   Two options side by side, each a heading over a list. Deliberately NOT a
   table: these are parallel characteristics, not rows keyed to columns, and a
   table would make a screen reader announce coordinates that carry no meaning.
   Below 700px the columns stack, so nothing ever scrolls sideways. */
.compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin: var(--sp-5) 0 var(--sp-6);
}
@media (min-width: 700px) {
  .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
}
.compare__col {
  border: 1px solid var(--grey-300, #22304C);
  border-radius: var(--r-lg, 14px);
  background: var(--ink-700, #0B1220);
  padding: var(--sp-5);
  position: relative;
  overflow: hidden;
}
/* Cyan on the first column, violet on the second: the two options read as
   distinct without either looking like the recommended one. */
.compare__col::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--define-cyan, #00CAFD);
  opacity: 0.8;
}
.compare__col:nth-child(2)::before { background: var(--define-violet, #5C24F2); }

.article__body .compare__head {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-600, #B4BED0);
  margin: 0 0 var(--sp-4);
}
.compare__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-3);
}
.compare__list li {
  position: relative;
  padding-left: var(--sp-5);
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--text-body, #E5E7EB);
}
.compare__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--define-cyan, #00CAFD);
  opacity: 0.8;
}
.compare__col:nth-child(2) .compare__list li::before {
  background: var(--define-violet, #5C24F2);
}
