/* ==========================================================================
   PosterUsKey — Feasibility study guide: visuals & interactive tools
   Scoped, additive stylesheet. Loaded only on the feasibility pages.
   Uses the tokens defined in styles.css (navy / ivory / gold).
   ========================================================================== */

:root {
  --fx-risk: #A94B37;        /* muted terracotta: downside / negative */
  --fx-sage: #8DB39B;        /* muted sage: strong / positive band */
  --fx-radius: 8px;
}

.article__body h2,
.article__body h3,
.fx-anchor { scroll-margin-top: 110px; }

/* ---------- Layout ---------- */
.fx-wrap {
  max-width: 1040px;
  margin: clamp(2rem, 5vw, 3.25rem) auto;
  padding-inline: var(--gutter);
}
.fx {
  background: var(--paper);
  border: 1px solid var(--hair-light);
  border-radius: var(--fx-radius);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.fx__cap {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.fx__title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.fx__intro { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 1.5rem; max-width: 68ch; }
.fx__note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 1.25rem;
  line-height: 1.6;
}
.fx__note strong { color: var(--ink); }
.fx--flush { padding: 0; overflow: hidden; }

/* ---------- Quick answer + TOC ---------- */
.answer {
  border-left: 3px solid var(--gold);
  background: var(--ivory);
  padding: 1.15rem 1.4rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0 0 2rem;
}
.answer p { margin: 0 !important; font-size: 1.02rem !important; line-height: 1.65 !important; color: var(--ink) !important; }
.answer strong { color: var(--navy); }

.toc {
  background: var(--ivory);
  border: 1px solid var(--hair-light);
  border-radius: var(--fx-radius);
  padding: 1.4rem 1.6rem;
  margin: 0 0 2.5rem;
}
.toc__title {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-ink);
  margin-bottom: 0.75rem;
}
.toc ol { list-style: none; counter-reset: toc; padding: 0; margin: 0; columns: 2; column-gap: 2.5rem; }
.toc li { counter-increment: toc; margin: 0 0 0.45rem; break-inside: avoid; font-size: 0.97rem; line-height: 1.45; }
.toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--serif); font-style: italic; color: var(--gold-ink); margin-right: 0.6rem; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* ---------- Comparison table ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 620px; }
.cmp th, .cmp td { padding: 0.85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hair-light); line-height: 1.5; }
.cmp thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; }
.cmp thead th:first-child { background: transparent; }
.cmp thead th.is-key { background: var(--gold-2); color: #fff; }
.cmp tbody th { font-weight: 600; color: var(--navy); width: 20%; }
.cmp tbody td.is-key { background: var(--gold-soft); color: var(--ink); font-weight: 500; }

/* ---------- Process track + steps ---------- */
.track { display: flex; justify-content: space-between; position: relative; list-style: none; padding: 0; margin: 0 0 2rem; }
.track::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 18px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--navy)); opacity: 0.55;
}
.track li { position: relative; z-index: 1; flex: 1; text-align: center; }
.track b {
  display: grid; place-items: center; width: 38px; height: 38px; margin: 0 auto 0.55rem;
  border-radius: 50%; background: var(--navy); color: #fff; border: 2px solid var(--gold);
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600;
}
.track span { font-size: 0.7rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.steps > li {
  background: var(--paper); border: 1px solid var(--hair-light); border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: 1.5rem 1.4rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.steps > li:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.steps__n { display: block; font-family: var(--serif); font-style: italic; color: var(--gold-ink); font-size: 1rem; margin-bottom: 0.3rem; }
.steps > li h3 { font-size: 1.35rem; margin: 0 0 0.4rem; color: var(--navy); }
.steps dl { margin: 0; }
.steps dt { font-size: 0.66rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold-ink); font-weight: 700; margin-top: 0.85rem; }
.steps dd { margin: 0.2rem 0 0; font-size: 0.94rem; color: var(--ink); line-height: 1.55; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .track span { font-size: 0.6rem; letter-spacing: 0.04em; }
  .track b { width: 32px; height: 32px; font-size: 1rem; }
  .track::before { top: 15px; }
}

/* ---------- Four lenses ---------- */
.lens__core {
  width: 118px; height: 118px; margin: 0 auto 1.25rem; border-radius: 50%;
  background: var(--navy); color: #fff; border: 3px solid var(--gold);
  display: grid; place-items: center; text-align: center; padding: 0.5rem;
  font-family: var(--serif); font-size: 1.2rem; line-height: 1.1; position: relative;
}
.lens__core small { display: block; font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.25rem; }
.lens__core::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 1.25rem; background: var(--gold); }
.lens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.lens__item { background: var(--paper); border: 1px solid var(--hair-light); border-radius: var(--radius); padding: 1.4rem; }
.lens__item svg { width: 34px; height: 34px; color: var(--gold-2); margin-bottom: 0.6rem; }
.lens__item h3 { font-size: 1.3rem; margin: 0 0 0.35rem; color: var(--navy); }
.lens__item p { font-size: 0.95rem !important; line-height: 1.55 !important; margin: 0 !important; color: var(--ink-soft) !important; }
.lens__item .q { display: block; margin-top: 0.65rem; font-size: 0.88rem; color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .lens { grid-template-columns: 1fr; } }

/* ---------- Decision template ---------- */
.tpl {
  font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.5; color: var(--navy);
  background: var(--ivory); border: 1px dashed var(--gold); border-radius: var(--radius); padding: 1.4rem 1.6rem;
}
.tpl mark { background: var(--gold-soft); color: var(--gold-ink); padding: 0 0.35rem; border-radius: 3px; font-style: italic; }
.tpl-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0.75rem; margin-top: 1.25rem; list-style: none; padding: 0; }
.tpl-list li { background: var(--paper); border: 1px solid var(--hair-light); border-radius: var(--radius); padding: 0.9rem 1rem; font-size: 0.92rem; color: var(--ink); line-height: 1.5; }
.tpl-list b { display: block; font-size: 0.66rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 0.25rem; }

/* ---------- Market funnel ---------- */
.funnel { display: grid; gap: 0.6rem; }
.funnel__row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.25rem; align-items: center; }
.funnel__bar {
  width: var(--w); min-width: 6.2rem; margin-inline: auto; padding: 0.95rem 0.5rem; text-align: center;
  background: var(--c, var(--navy)); color: #fff; border-radius: 4px;
  font-family: var(--serif); font-size: 1.5rem; line-height: 1; font-weight: 600;
  transition: width 0.9s var(--ease);
}
.funnel__bar small { display: block; font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; opacity: 0.85; margin-top: 0.35rem; }
.funnel__txt { font-size: 0.93rem; line-height: 1.5; color: var(--ink-soft); }
.funnel__txt strong { display: block; color: var(--navy); font-size: 0.98rem; }
.funnel__eq {
  margin-top: 1.25rem; padding: 1rem 1.25rem; background: var(--ivory); border-radius: var(--radius);
  font-size: 0.95rem; color: var(--ink); line-height: 1.7;
}
.funnel__eq b { color: var(--navy); }
@media (max-width: 640px) {
  .funnel__row { grid-template-columns: 1fr; gap: 0.4rem; margin-bottom: 0.6rem; }
  .funnel__txt { text-align: center; }
}

/* ---------- Icon tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.tiles li { background: var(--paper); border: 1px solid var(--hair-light); border-radius: var(--radius); padding: 1.25rem 1.3rem; }
.tiles svg { width: 30px; height: 30px; color: var(--gold-2); margin-bottom: 0.55rem; }
.tiles b { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 0.2rem; }
.tiles span { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; display: block; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.calc__controls { display: grid; gap: 1.15rem; align-content: start; }
.ctl label { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; font-size: 0.86rem; font-weight: 600; color: var(--navy); }
.ctl output { color: var(--gold-ink); font-variant-numeric: tabular-nums; font-weight: 700; }
.ctl input[type="range"] { width: 100%; margin: 0.45rem 0 0; accent-color: var(--gold-2); }
.ctl small { display: block; font-size: 0.75rem; color: var(--ink-soft); margin-top: 0.15rem; line-height: 1.4; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.kpi { background: var(--ivory); border-radius: var(--radius); padding: 0.85rem 1rem; }
.kpi small { display: block; font-size: 0.64rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.kpi b { display: block; font-family: var(--serif); font-size: 1.75rem; line-height: 1.1; color: var(--navy); font-variant-numeric: tabular-nums; }
.kpi b.is-neg { color: var(--fx-risk); }
.kpi em { display: block; font-style: normal; font-size: 0.76rem; color: var(--ink-soft); margin-top: 0.15rem; }
.chartbox { margin-top: 1.1rem; }
.chartbox svg { width: 100%; height: auto; overflow: visible; }
.fx-svg text { fill: var(--ink-soft); font: 500 11.5px var(--sans); }
.fx-svg .grid { stroke: var(--hair-light); stroke-width: 1; }
.fx-svg .zero { stroke: var(--ink-faint); stroke-width: 1.5; }
.fx-svg .axis-t { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.fx-svg .pb-lab { fill: var(--navy); font-weight: 700; }
.legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.6rem; }
.legend i { display: inline-block; width: 24px; height: 0; border-top: 3px solid; vertical-align: middle; margin-right: 0.45rem; }
.legend i.is-dash { border-top-style: dashed; }
.scen { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin-top: 1rem; font-variant-numeric: tabular-nums; }
.scen th, .scen td { padding: 0.55rem 0.7rem; text-align: right; border-bottom: 1px solid var(--hair-light); }
.scen th:first-child, .scen td:first-child { text-align: left; }
.scen thead th { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.scen tbody th { font-weight: 600; color: var(--navy); }
.scen td.is-neg { color: var(--fx-risk); font-weight: 600; }
.verdict-line { margin-top: 1rem; padding: 0.85rem 1.1rem; border-left: 3px solid var(--gold); background: var(--ivory); font-size: 0.95rem; line-height: 1.55; border-radius: 0 var(--radius) var(--radius) 0; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .kpis { grid-template-columns: 1fr; } .kpi b { font-size: 1.5rem; } }

/* ---------- Tornado (sensitivity) ---------- */
.tornado { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--hair-light); }
.tornado h4 { font-family: var(--serif); font-size: 1.3rem; color: var(--navy); margin: 0 0 0.3rem; }
.tornado__key { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font-size: 0.82rem; color: var(--ink-soft); margin: 0.6rem 0 1rem; }
.tornado__key i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; vertical-align: -1px; margin-right: 0.4rem; }
.tor { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) 4.6rem; align-items: center; gap: 0.75rem; padding: 0.4rem 0; font-size: 0.88rem; }
.tor__name { color: var(--navy); font-weight: 600; line-height: 1.25; }
.tor__bar { position: relative; height: 24px; }
.tor__bar::before { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--ink-faint); }
.tor__seg { position: absolute; top: 3px; bottom: 3px; border-radius: 2px; transition: left 0.35s var(--ease), width 0.35s var(--ease); }
.tor__seg--lo { background: var(--gold-2); }
.tor__seg--hi { background: var(--navy); }
.tor__sw { text-align: right; color: var(--ink-soft); font-variant-numeric: tabular-nums; font-size: 0.82rem; }
@media (max-width: 560px) { .tor { grid-template-columns: 6.3rem minmax(0, 1fr) 3.7rem; gap: 0.5rem; font-size: 0.8rem; } }

/* ---------- Risk heat-map ---------- */
.heatwrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.heat { display: grid; grid-template-columns: 1.6rem repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(5, 3.5rem) 1.6rem; gap: 3px; }
.heat__cell { border-radius: 3px; display: grid; place-items: center; background: var(--bg); }
.heat__ax { display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; color: var(--ink-soft); }
.chip {
  width: 1.85rem; height: 1.85rem; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: 0.82rem; font-weight: 700; box-shadow: 0 0 0 2px #fff;
}
.heat__cap { display: flex; justify-content: space-between; margin: 0.55rem 0 0 1.6rem; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.heat__scale { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin: 0.9rem 0 0; font-size: 0.78rem; color: var(--ink-soft); }
.heat__scale i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: 0.35rem; }
.risklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.65rem; }
.risklist li { display: grid; grid-template-columns: 1.85rem minmax(0, 1fr); gap: 0.75rem; align-items: start; font-size: 0.92rem; line-height: 1.45; }
.risklist .chip { margin-top: 0.05rem; }
.risklist b { color: var(--navy); }
.risklist span { display: block; color: var(--ink-soft); font-size: 0.84rem; }
.resp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.85rem; margin-top: 1.75rem; }
.resp > div { background: var(--ivory); border-radius: var(--radius); padding: 1rem 1.1rem; }
.resp b { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--navy); margin-bottom: 0.2rem; }
.resp span { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.5; display: block; }
@media (max-width: 860px) { .heatwrap { grid-template-columns: 1fr; } .resp { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .resp { grid-template-columns: 1fr; } .heat { grid-template-rows: repeat(5, 3rem) 1.6rem; } }

/* ---------- Scorecard ---------- */
.score fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.crit { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.4rem 1.5rem; padding: 1rem 0; border-top: 1px solid var(--hair-light); align-items: center; }
.crit:first-child { border-top: 0; padding-top: 0; }
.crit__name { font-weight: 700; color: var(--navy); font-size: 0.98rem; grid-column: 1; }
.crit__w { display: inline-block; margin-left: 0.5rem; font-size: 0.68rem; letter-spacing: 0.1em; background: var(--gold-soft); color: var(--gold-ink); padding: 0.12rem 0.55rem; border-radius: 99px; vertical-align: 2px; }
.crit__d { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.5; grid-column: 1; }
.rate { display: flex; gap: 0.4rem; grid-column: 2; grid-row: 1 / span 2; }
.rate label { position: relative; display: block; }
.rate input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; width: 100%; height: 100%; }
.rate span {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 1px solid var(--hair-light); background: #fff; font-weight: 600; color: var(--ink);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.rate label:hover span { border-color: var(--gold-2); }
.rate input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.rate input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.rate-key { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--ink-soft); margin: 0 0 1rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }
@media (max-width: 640px) { .crit { grid-template-columns: 1fr; } .rate { grid-column: 1; grid-row: auto; } }
.verdict { margin-top: 1.5rem; background: var(--navy); color: #fff; border-radius: var(--fx-radius); padding: clamp(1.25rem, 3vw, 1.75rem); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.verdict__n { font-family: var(--serif); font-size: clamp(3rem, 8vw, 4.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.verdict__n small { font-size: 1rem; color: var(--on-navy-soft); font-family: var(--sans); }
.verdict__band { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.7rem); color: var(--gold); line-height: 1.15; }
.verdict__msg { color: var(--on-navy); font-size: 0.95rem; line-height: 1.55; margin-top: 0.3rem; }
.verdict__warn { color: #F2C6B8; font-size: 0.88rem; margin-top: 0.6rem; line-height: 1.5; }
.meterwrap { position: relative; margin-top: 1.1rem; grid-column: 1 / -1; }
.meter { display: flex; height: 12px; border-radius: 99px; overflow: hidden; }
.meter i { display: block; height: 100%; }
.meter__mk { position: absolute; top: -5px; width: 4px; height: 22px; background: #fff; border-radius: 2px; transform: translateX(-2px); transition: left 0.45s var(--ease); box-shadow: 0 0 0 2px var(--navy); }
.meter__lab { display: flex; margin-top: 0.4rem; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-navy-soft); font-weight: 700; }
.meter__lab span { text-align: center; }
@media (max-width: 520px) { .verdict { grid-template-columns: 1fr; gap: 0.75rem; } .meter__lab { font-size: 0.56rem; letter-spacing: 0.03em; } }

/* ---------- Mistakes ---------- */
.mistakes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.mistakes li { background: var(--paper); border: 1px solid var(--hair-light); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.mistakes li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.mistakes h3 { font-size: 1.2rem; margin: 0 0 0.6rem; color: var(--navy); }
.mistakes p { margin: 0 !important; font-size: 0.93rem !important; line-height: 1.55 !important; color: var(--ink-soft) !important; }
.mistakes p + p { margin-top: 0.5rem !important; }
.mistakes b { display: inline-block; font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.1rem 0.5rem; border-radius: 99px; margin-right: 0.4rem; vertical-align: 1px; }
.mistakes .no b { background: rgba(169, 75, 55, 0.12); color: var(--fx-risk); }
.mistakes .yes b { background: var(--gold-soft); color: var(--gold-ink); }
@media (max-width: 700px) { .mistakes { grid-template-columns: 1fr; } }

/* ---------- Report anatomy ---------- */
.doc { max-width: 760px; margin-inline: auto; background: #fff; border: 1px solid var(--hair-light); border-radius: 6px; box-shadow: var(--shadow-md); overflow: hidden; }
.doc__bar { background: var(--navy); color: #fff; padding: 1.1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.doc__bar b { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.doc__bar span { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.doc ol { list-style: none; margin: 0; padding: 0; }
.doc li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0 0.75rem; padding: 0.95rem 1.5rem; border-top: 1px solid var(--hair-light); margin: 0; }
.doc li:first-child { border-top: 0; }
.doc__n { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--gold-ink); line-height: 1.2; }
.doc b { color: var(--navy); font-size: 0.98rem; display: block; }
.doc span.q { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.5; display: block; }

/* ---------- In-article CTA box ---------- */
.fx-cta { background: var(--navy); color: #fff; border-radius: var(--fx-radius); padding: clamp(1.5rem, 4vw, 2.5rem); display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.fx-cta h2, .fx-cta h3 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 0.4rem; }
.fx-cta p { color: var(--on-navy); margin: 0; font-size: 0.98rem; max-width: 52ch; }
.fx-cta .btn-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ---------- FAQ inside the guide / service page ---------- */
.faq .acc-body__inner { padding-left: 0; }
.faq .acc-item { scroll-margin-top: 100px; }
.faq a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Featured card (Insights listing) ---------- */
.post-feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: var(--paper); border: 1px solid var(--hair-light); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.75rem; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.post-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-feature__media { background: var(--navy); min-height: 260px; }
.post-feature__media svg { width: 100%; height: 100%; }
.post-feature__body { padding: clamp(1.5rem, 3.5vw, 2.6rem); display: flex; flex-direction: column; justify-content: center; }
.post-feature__body h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 0.75rem; line-height: 1.12; }
.post-feature__body p { color: var(--ink-soft); margin: 0 0 1.25rem; font-size: 0.98rem; }
.post-feature__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; padding: 0; list-style: none; }
.post-feature__tags li { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--gold-ink); background: var(--gold-soft); padding: 0.25rem 0.65rem; border-radius: 99px; }
@media (max-width: 760px) { .post-feature { grid-template-columns: 1fr; } .post-feature__media { min-height: 200px; aspect-ratio: 16/9; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .steps > li, .post-feature, .funnel__bar, .tor__seg, .meter__mk { transition: none !important; }
  .steps > li:hover, .post-feature:hover { transform: none; }
}
