/* ------------------------------------------------------------------
   Reverse engineering article.

   Colour carries meaning on this page and is not decoration:
     teal   = lawful, allowed, the thing that works
     amber  = conditional, watch this, a deadline
     red    = this is where companies have actually been caught out
   Everything else stays in the site's navy and greys so those three
   colours keep their meaning.
   ------------------------------------------------------------------ */

.re-page { --re-ok: var(--teal-deep); --re-ok-bg: var(--teal-tint);
           --re-watch: var(--warn); --re-watch-bg: var(--warn-tint);
           --re-bad: var(--danger); --re-bad-bg: #fdeceb; }

/* ---------- hero ---------- */
/* Light, because a dark panel was swallowing the headline. The page now opens on paper
   and the only dark block is the closing band, which is the one place it earns itself. */
.re-hero {
  background: linear-gradient(180deg, #eef3fb 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--line);
  padding: 44px 0 40px;
}
.re-hero .eyebrow { color: var(--teal-deep); }
.re-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.06; margin: 14px 0 12px; max-width: 20ch; color: var(--ink); }
.re-hero .re-lede { font-size: 1.06rem; line-height: 1.65; color: var(--ink-2); max-width: 62ch; margin: 0; }
.re-hero-meta { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.re-hero-meta li {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--ink-2);
  font-size: var(--fs-sm); font-weight: 650;
}
.re-hero-meta svg { width: 15px; height: 15px; color: var(--teal-deep); }

/* ---------- byline ---------- */
.re-by {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 26px 0 0; padding: 14px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(11, 27, 63, 0.06));
}
.re-by-photo {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line-2);
}
.re-by-who { display: grid; gap: 2px; min-width: 0; }
.re-by-label { font-size: var(--fs-xs); color: var(--muted); font-weight: 650; }
.re-by-who a { color: var(--ink); font-weight: 750; text-decoration: none; border-bottom: 1px solid var(--line-2); }
.re-by-who a:hover { color: var(--brand-ink); border-bottom-color: currentColor; }
.re-by-meta { margin-left: auto; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: var(--fs-sm); }
.re-by-meta span { display: inline-flex; align-items: center; gap: 6px; }
.re-by-meta svg { width: 14px; height: 14px; }

/* The one loud element on the page: the window of years in which copying is lawful here. */
.re-window {
  margin: 26px 0 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 20px 22px 22px;
}
.re-window h2 { font-size: 1rem; margin: 0 0 4px; color: var(--ink); }
.re-window p { margin: 0 0 14px; color: var(--ink-2); font-size: var(--fs-sm); max-width: 74ch; line-height: 1.6; }
.re-window svg { display: block; width: 100%; height: auto; }

/* ---------- the numbers, as a strip under the hero ---------- */
.re-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 26px 0 0; }
.re-stat { background: var(--surface); padding: 16px 18px; }
.re-stat b { display: block; font-size: 1.5rem; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.re-stat span { display: block; margin-top: 5px; color: var(--muted); font-size: var(--fs-sm); line-height: 1.45; }
.re-stat i { display: inline-flex; margin-bottom: 9px; color: var(--teal-deep); }
.re-stat svg { width: 17px; height: 17px; }

/* ---------- contents ---------- */
.re-toc { margin: 26px 0 0; border: 1px solid var(--line); border-radius: 14px; background: var(--wash); padding: 16px 20px; }
.re-toc h2 { font-size: 0.95rem; margin: 0 0 10px; color: var(--ink-2); }
.re-toc ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 6px 22px; counter-reset: toc; }
.re-toc li { counter-increment: toc; }
.re-toc a { display: flex; gap: 10px; padding: 5px 0; color: var(--ink-2); text-decoration: none; font-size: var(--fs-sm); line-height: 1.45; }
.re-toc a::before { content: counter(toc); color: var(--teal-deep); font-weight: 800; font-variant-numeric: tabular-nums; min-width: 1.1em; }
.re-toc a:hover { color: var(--brand-ink); }

/* ---------- questions ---------- */
.re-body { background: var(--surface); }
.re-q { padding: 52px 0 0; }
.re-q:last-of-type { padding-bottom: 20px; }
.re-q-head { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; align-items: start; }
.re-q-num { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px;
  background: var(--brand-tint); color: var(--brand-ink); font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.re-q-head h2 { margin: 6px 0 0; font-size: clamp(1.32rem, 2.5vw, 1.85rem); line-height: 1.2; max-width: 26ch; }
.re-q-body { margin-left: 72px; max-width: 72ch; }
.re-q-body > p { line-height: 1.68; }
.re-q-body > p:first-child { margin-top: 14px; }

/* A sentence that is the answer in one line, before the explanation. */
.re-answer { border-left: 3px solid var(--teal); background: var(--teal-tint); color: #08474f;
  padding: 13px 18px; border-radius: 0 10px 10px 0; font-weight: 650; line-height: 1.55; margin: 16px 0 20px; }

/* ---------- figures ---------- */
.re-fig { margin: 26px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--wash); padding: 20px; }
.re-fig svg { display: block; width: 100%; height: auto; }
.re-fig figcaption { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft);
  color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }
.re-fig figcaption b { color: var(--ink-2); }

/* ---------- cards ---------- */
.re-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 22px 0; }
.re-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: var(--surface); }
.re-card h3 { margin: 10px 0 6px; font-size: 1rem; line-height: 1.3; }
.re-card p { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.6; }
.re-card .re-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--wash-2); color: var(--ink-2); }
.re-card .re-ico svg { width: 18px; height: 18px; }
.re-card.ok .re-ico { background: var(--re-ok-bg); color: var(--re-ok); }
.re-card.watch .re-ico { background: var(--re-watch-bg); color: var(--re-watch); }
.re-card.bad .re-ico { background: var(--re-bad-bg); color: var(--re-bad); }
.re-card.bad { border-color: #f1cdc8; }
.re-card .re-case { display: block; margin-top: 10px; padding-top: 9px; border-top: 1px dashed var(--line-2);
  font-size: var(--fs-xs); color: var(--muted); }
.re-card .re-case b { color: var(--ink-2); font-weight: 700; }

/* ---------- the instrument table ---------- */
.re-table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: 14px; }
.re-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 560px; }
.re-table th, .re-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.re-table thead th { background: var(--wash-2); color: var(--ink); font-weight: 750; white-space: nowrap; }
.re-table tbody tr:last-child td { border-bottom: 0; }
.re-table td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.re-table td code { font-size: 0.92em; }

/* ---------- document checklist ---------- */
.re-docs { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 10px; }
.re-docs li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--wash); }
.re-docs i { color: var(--teal-deep); }
.re-docs svg { width: 17px; height: 17px; margin-top: 2px; }
.re-docs b { display: block; color: var(--ink); }
.re-docs span { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; }

/* ---------- pull quote and closing ---------- */
.re-note { border: 1px solid var(--line-2); border-left: 4px solid var(--amber); background: var(--warn-tint);
  border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 24px 0; }
.re-note p { margin: 0; color: #6c4406; line-height: 1.6; }
.re-note p + p { margin-top: 10px; }

.re-close { background: var(--night); color: #fff; padding: 48px 0; margin-top: 44px; }
.re-close h2 { color: #fff; margin: 0 0 10px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.re-close p { color: #c2d0e9; max-width: 66ch; line-height: 1.65; }
.re-close .re-close-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 24px; }
.re-close .re-close-grid div { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px; padding: 16px 18px; }
.re-close .re-close-grid b { display: block; margin-bottom: 5px; }
.re-close .re-close-grid span { color: #b9c8e4; font-size: var(--fs-sm); line-height: 1.6; }

/* ---------- sources ---------- */
.re-sources { padding: 44px 0 64px; background: var(--wash); }
.re-sources h2 { font-size: 1.2rem; margin: 0 0 6px; }
.re-sources > .w-container > p { color: var(--muted); font-size: var(--fs-sm); margin: 0 0 18px; }
.re-sources ol { margin: 0; padding-left: 22px; display: grid; gap: 11px; }
.re-sources li { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; }
.re-sources li b { color: var(--ink); font-weight: 700; }
.re-sources a { color: var(--brand-ink); word-break: break-word; }

@media (max-width: 760px) {
  .re-q-head { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; }
  .re-q-num { width: 42px; height: 42px; border-radius: 11px; font-size: 1rem; }
  .re-q-body { margin-left: 0; }
  .re-fig { padding: 14px; }
}

/* ---------- link cards: a regulator or a legal instrument, with somewhere to go ---------- */
.re-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 22px 0; }
.re-link {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 13px; align-items: start;
  padding: 15px 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface);
  text-decoration: none; color: inherit; transition: border-color .15s ease, box-shadow .15s ease;
}
.re-link:hover { border-color: var(--line-2); box-shadow: 0 2px 10px rgba(11, 27, 63, 0.07); }
.re-link:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.re-link .re-ico { background: var(--brand-soft); color: var(--brand-ink); }
.re-link b { display: block; color: var(--ink); font-size: 0.95rem; line-height: 1.3; }
.re-link span { display: block; margin-top: 5px; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.55; }
.re-link em { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-style: normal;
  color: var(--brand-ink); font-size: var(--fs-xs); font-weight: 700; }
.re-link em svg { width: 13px; height: 13px; }

/* A heading inside an answer, for when one question has two distinct halves. */
.re-sub { margin: 28px 0 0; font-size: 1.02rem; color: var(--ink); }
.re-sub + p { margin-top: 8px; }

/* Inline source link in running text: visible as a link without shouting. */
.re-q-body a:not(.re-link) { color: var(--brand-ink); text-decoration: none; border-bottom: 1px solid #c3d0f3; }
.re-q-body a:not(.re-link):hover { border-bottom-color: currentColor; }

/* ---------- sources, now that each one is a link ---------- */
.re-sources li a { display: inline-flex; align-items: baseline; gap: 5px; }
.re-sources .re-src-tag {
  display: inline-block; margin-right: 7px; padding: 2px 8px; border-radius: 999px;
  background: var(--wash-2); color: var(--ink-2); font-size: var(--fs-xs); font-weight: 750;
  white-space: nowrap; vertical-align: 1px;
}
.re-sources .re-src-tag.gov { background: var(--brand-soft); color: var(--brand-ink); }
.re-sources .re-src-tag.law { background: var(--teal-tint); color: var(--teal-deep); }
.re-sources .re-src-tag.sci { background: var(--warn-tint); color: var(--warn); }

@media (max-width: 760px) {
  .re-by { padding: 13px 14px; }
  .re-by-meta { margin-left: 0; width: 100%; }
}

/* The trail inherits its colour from the hero, which is now light rather than navy. */
.re-hero .crumbs { color: var(--muted); }

/* ------------------------------------------------------------------
   The blog index: one card per article, three to a row on a desktop.

   The top half of each card is a small poster in the article's own colour,
   with a chemistry lattice behind it; the bottom half stays white so the
   tagline, byline and share buttons read as calmly as the rest of the site.
   Colour here is for recognition, not decoration: an article keeps its
   accent on its own page too, so the card and the piece feel like one thing.
   ------------------------------------------------------------------ */
.blog-list { padding: 40px 0 72px; background: var(--surface); }
.blog-empty { color: var(--muted); }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
@media (min-width: 1040px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

/* Each accent is two stops of the site's own palette, deepened just enough to carry white text.
   Nothing neon: these sit beside navy body copy all day. */
.blog-teal   { --c1: #0b8f92; --c2: #14607f; }
.blog-indigo { --c1: #2f52cf; --c2: #5a3fae; }
.blog-plum   { --c1: #7b3f9d; --c2: #a8406f; }
.blog-amber  { --c1: #b86f0a; --c2: #9c4620; }   /* darkened: the original amber gave white text only 2.8:1 */
.blog-forest { --c1: #0f7a57; --c2: #0d6480; }

.blog-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.blog-card:hover { transform: translateY(-3px); border-color: transparent; box-shadow: 0 14px 34px rgba(11, 27, 63, 0.16); }
.blog-card:focus-within { border-color: var(--brand); }
@media (prefers-reduced-motion: reduce) { .blog-card, .blog-card:hover { transition: none; transform: none; } }

/* ---- the coloured half ---- */
.blog-band {
  position: relative; display: block; overflow: hidden; text-decoration: none;
  min-height: 178px; padding: 20px 20px 22px;
  background: linear-gradient(145deg, var(--c1) 0%, var(--c2) 100%);
}
/* A hexagon lattice, drawn once as a tiled SVG rather than shipped as an image: it stays sharp,
   weighs nothing, and the opacity can be tuned without re-exporting anything. */
.blog-band::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='96' viewBox='0 0 84 96'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.5' opacity='.28'%3E%3Cpath d='M21 8 L35 16 L35 32 L21 40 L7 32 L7 16 Z'/%3E%3Cpath d='M63 32 L77 40 L77 56 L63 64 L49 56 L49 40 Z'/%3E%3Cpath d='M21 56 L35 64 L35 80 L21 88 L7 80 L7 64 Z'/%3E%3Cpath d='M35 24 L49 40'/%3E%3Cpath d='M35 64 L49 56'/%3E%3C/g%3E%3C/svg%3E");
}
/* a soft light from the top-left, so the band is not a flat slab */
.blog-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 12% 0%, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0) 60%);
}
.blog-band > * { position: relative; z-index: 1; }

.blog-eyebrow {
  display: inline-block; padding: 4px 11px; border-radius: 999px; margin-bottom: 12px;
  /* a dark chip rather than a light one, so the small uppercase type keeps its contrast
     whichever accent sits behind it */
  background: rgba(8, 18, 40, 0.3); border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff; font-size: var(--fs-xs); font-weight: 750; letter-spacing: .04em; text-transform: uppercase;
}
.blog-band h2 {
  margin: 0; color: #fff; font-size: 1.42rem; line-height: 1.16; letter-spacing: -0.01em;
  max-width: 15ch; text-shadow: 0 1px 10px rgba(6, 16, 40, 0.22);
}
.blog-card:hover .blog-band h2 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* the article's icon, large and faint, bottom right */
.blog-band-ico { position: absolute; right: -14px; bottom: -18px; color: rgba(255, 255, 255, 0.2); }
.blog-band-ico svg { width: 104px; height: 104px; stroke-width: 1.25; }

.blog-new {
  position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px 5px 9px; border-radius: 999px;
  background: rgba(10, 20, 45, 0.42); border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .03em;
}
.blog-new svg { width: 13px; height: 13px; }

/* ---- the white half ---- */
.blog-card-main { padding: 18px 20px 4px; flex: 1 1 auto; }
.blog-card-tag { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; }

.blog-card-topics { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.blog-card-topics li {
  padding: 3px 10px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700;
  background: color-mix(in srgb, var(--c1) 11%, #fff); color: color-mix(in srgb, var(--c2) 78%, #000);
  border: 1px solid color-mix(in srgb, var(--c1) 22%, #fff);
}
@supports not (color: color-mix(in srgb, red 50%, blue)) {
  .blog-card-topics li { background: var(--wash-2); color: var(--ink-2); border-color: var(--line); }
}

.blog-card-foot {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; margin-top: 16px; border-top: 1px solid var(--line-soft);
}
.blog-card-photo { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line-2); }
.blog-card-who { display: grid; gap: 1px; min-width: 0; }
.blog-card-who b { font-size: 0.88rem; color: var(--ink); }
.blog-card-who span { font-size: var(--fs-xs); color: var(--muted); }

.blog-card .share-row { padding: 10px 16px; border-top: 1px solid var(--line-soft); margin: 0; gap: 6px; }

.blog-card-read {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 13px 20px; border-top: 1px solid var(--line-soft);
  color: color-mix(in srgb, var(--c2) 85%, #000); font-weight: 750; font-size: var(--fs-sm); text-decoration: none;
}
.blog-card-read svg { width: 15px; height: 15px; transition: transform .16s ease; }
.blog-card:hover .blog-card-read { background: color-mix(in srgb, var(--c1) 8%, #fff); }
.blog-card:hover .blog-card-read svg { transform: translateX(3px); }
@supports not (color: color-mix(in srgb, red 50%, blue)) {
  .blog-card-read { color: var(--brand-ink); }
  .blog-card:hover .blog-card-read { background: var(--brand-soft); }
}

/* The share row at the foot of an article. */
.re-share {
  margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--line-2);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.re-share p { margin: 0; color: var(--ink-2); font-weight: 650; }
.re-share .share-row { margin: 0; }

/* ------------------------------------------------------------------
   "Should you file?" decision walk-through.
   Without JavaScript every node is visible in order, so the colours have
   to make sense as a list as well as one at a time.
   ------------------------------------------------------------------ */
.flow { border: 1px solid var(--line-2); border-radius: 16px; background: var(--wash); padding: 18px; margin: 26px 0; }
.flow-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.flow-head b { display: block; color: var(--ink); font-size: 1.02rem; }
.flow-head span { display: block; margin-top: 3px; color: var(--muted); font-size: var(--fs-sm); }
.flow-reset {
  display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; cursor: pointer;
  padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--ink-2); font: inherit; font-size: var(--fs-sm); font-weight: 650;
}
.flow-reset:hover { border-color: var(--muted); color: var(--ink); }
.flow-reset svg { width: 14px; height: 14px; }

/* the answers given so far */
.flow-trail { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.flow-trail li { display: flex; align-items: center; gap: 6px; }
.flow-trail li + li::before { content: "›"; color: var(--line-2); font-weight: 700; }
.flow-trail button {
  cursor: pointer; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2);
  font: inherit; font-size: var(--fs-xs); font-weight: 650; padding: 4px 10px; border-radius: 999px;
}
.flow-trail button:hover { border-color: var(--brand); color: var(--brand-ink); }

.flow-node {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--line-2);
  border-radius: 12px; padding: 18px 20px; outline: none;
}
.flow-live .flow-node { animation: flowIn .18s ease-out; }
@keyframes flowIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .flow-live .flow-node { animation: none; } }
.flow:not(.flow-live) .flow-node + .flow-node { margin-top: 12px; }

.flow-node-head { display: flex; align-items: center; gap: 12px; }
.flow-node h4 { margin: 0; font-size: 1.08rem; line-height: 1.3; color: var(--ink); }
.flow-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; flex: 0 0 auto;
  background: var(--wash-2); color: var(--ink-2); }
.flow-ico svg { width: 18px; height: 18px; }
.flow-note { margin: 11px 0 0; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.62; max-width: 68ch; }

.flow-ask { border-left-color: var(--brand); }
.flow-ask .flow-ico { background: var(--brand-soft); color: var(--brand-ink); }
.flow-ok { border-left-color: var(--teal); background: linear-gradient(180deg, var(--teal-tint) 0%, var(--surface) 70%); }
.flow-ok .flow-ico { background: var(--teal); color: #fff; }
.flow-watch { border-left-color: var(--amber); background: linear-gradient(180deg, var(--warn-tint) 0%, var(--surface) 70%); }
.flow-watch .flow-ico { background: var(--amber); color: #4a3000; }
.flow-stop { border-left-color: var(--danger); background: linear-gradient(180deg, #fdeceb 0%, var(--surface) 70%); }
.flow-stop .flow-ico { background: var(--danger); color: #fff; }

.flow-choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.flow-btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  padding: 10px 16px 10px 10px; border-radius: 11px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--ink); font: inherit; font-size: var(--fs-sm); font-weight: 650;
  text-align: left; transition: border-color .14s ease, box-shadow .14s ease;
}
.flow-btn:hover { border-color: var(--brand); box-shadow: 0 2px 10px rgba(11, 27, 63, 0.08); }
.flow-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.flow-key {
  display: inline-grid; place-items: center; min-width: 38px; padding: 3px 8px; border-radius: 7px;
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .01em;
}
.flow-yes .flow-key { background: var(--teal-tint); color: var(--teal-deep); }
.flow-no .flow-key { background: var(--wash-2); color: var(--ink-2); }

.flow-next { margin-top: 15px; padding-top: 13px; border-top: 1px dashed var(--line-2); }
.flow-next b { display: block; color: var(--ink); font-size: 0.95rem; }
.flow-next span { display: block; margin-top: 4px; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; }

.flow-steps { margin: 16px 0 0; padding: 0 0 0 4px; list-style: none; counter-reset: fstep; display: grid; gap: 12px; }
/* Three children per row item: the number from ::before, the title, and the description. With
   only two columns declared, auto-placement wrapped the description back under the number and
   squeezed it into 28px, one word per line. Both text children are pinned to column 2. */
.flow-steps li { counter-increment: fstep; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; row-gap: 3px; }
.flow-steps li::before { grid-column: 1; grid-row: 1; }
.flow-steps b, .flow-steps span { grid-column: 2; }
.flow-steps li::before {
  content: counter(fstep); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: 0.82rem; font-weight: 800;
}
.flow-steps b { color: var(--ink); font-size: 0.97rem; }
.flow-steps span { display: block; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; }

/* ---------- the questions people actually ask ---------- */
.faq-list { margin: 18px 0 0; display: grid; gap: 10px; }
.faq-list > div { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 15px 18px; }
.faq-list dt { display: flex; align-items: flex-start; gap: 10px; font-weight: 750; color: var(--ink); line-height: 1.35; }
.faq-list dt svg { width: 17px; height: 17px; margin-top: 2px; color: var(--teal-deep); flex: 0 0 auto; }
.faq-list dd { margin: 9px 0 0 27px; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.65; }

@media (max-width: 760px) {
  .flow { padding: 13px; }
  .flow-node { padding: 15px 15px 15px 14px; }
  .flow-choices { flex-direction: column; align-items: stretch; }
  .flow-head { flex-direction: column; }
}

/* ------------------------------------------------------------------
   An article keeps the colour of its card, quietly: a tint in the hero
   and the question numbers. The body copy stays navy on white.
   ------------------------------------------------------------------ */
.re-page[class*="blog-"] .re-hero {
  background: linear-gradient(180deg, color-mix(in srgb, var(--c1) 11%, #fff) 0%, var(--surface) 100%);
}
.re-page[class*="blog-"] .re-q-num {
  background: color-mix(in srgb, var(--c1) 13%, #fff);
  color: color-mix(in srgb, var(--c2) 80%, #000);
}
.re-page[class*="blog-"] .re-hero-meta svg { color: color-mix(in srgb, var(--c2) 75%, #000); }
@supports not (color: color-mix(in srgb, red 50%, blue)) {
  .re-page[class*="blog-"] .re-hero { background: linear-gradient(180deg, #eef3fb 0%, var(--surface) 100%); }
  .re-page[class*="blog-"] .re-q-num { background: var(--brand-tint); color: var(--brand-ink); }
}
