/* public/insights/insights.css
 * Brand-matched stylesheet for /insights/ pages.
 * Dark theme, Space Grotesk headings, Inter body — coherent with public/index.html.
 * Targets the real markup from render-article.js + render-index.js + chrome.js.
 */

/* ── tokens ────────────────────────────────────────────────────────────────── */
:root {
  --bg:       #07090C;
  --bg2:      #0B1014;
  --panel:    #0E1418;
  --ink:      #EAF2F0;
  --ink-body: #D2DBDE;
  --ink-soft: #9FB2B0;
  --ink-faint:#5E7370;
  --teal:     #5FE3D0;
  --teal-deep:#34C2B2;
  --warm:     #FFB35C;
  --line:     #16211F;
  --line-soft:#101A18;
  --disp:     "Space Grotesk", system-ui, sans-serif;
  --body:     "Inter", system-ui, sans-serif;
  --wrap:     1200px;
  --col:      70ch;
}

/* ── reset + base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--teal); text-decoration: none; transition: color .18s; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ── site header (chrome.js: siteHeader()) ────────────────────────────────── */
.ins-header {
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 12, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.ins-header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
/* wordmark — matches homepage .mark */
.mark {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}
.mark:hover { color: var(--ink); }
/* nav links — matches homepage .navr */
.navr {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--disp);
  font-size: 13.5px;
  color: var(--ink-soft);
}
.navr a { color: var(--ink-soft); transition: color .2s; }
.navr a:hover { color: var(--ink); }
.navr a[aria-current="page"] { color: var(--teal); }
/* hamburger toggle — hidden on desktop, shown <=720px (see mobile block) */
.nav-burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  margin: -8px -6px;
  cursor: pointer;
  color: var(--ink-soft);
  line-height: 0;
}
.nav-burger:hover { color: var(--ink); }
.nav-burger-box { display: block; position: relative; width: 22px; height: 14px; }
.nav-burger-bar,
.nav-burger-bar::before,
.nav-burger-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-burger-bar { top: 6px; }
.nav-burger-bar::before { top: -6px; }
.nav-burger-bar::after { top: 6px; }
.nav-burger[aria-expanded="true"] .nav-burger-bar { background: transparent; }
.nav-burger[aria-expanded="true"] .nav-burger-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] .nav-burger-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ── page layout ───────────────────────────────────────────────────────────── */
main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 44px;
}
.ins-reading-col {
  max-width: var(--col);
  margin: 0 auto;
  padding: 64px 0 96px;
}

/* ── article chrome ────────────────────────────────────────────────────────── */
article h1 {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 20px;
}

.updated {
  font-family: var(--disp);
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: .02em;
  display: block;
  margin-bottom: 10px;
}

.byline {
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.5;
  margin-bottom: 28px;
}
.byline a {
  color: var(--ink-faint);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* /about/ founder portrait (same photo as the LinkedIn profile -- the visual
   half of the cross-source entity corroboration). */
.about-portrait {
  display: block;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  object-fit: cover;
  margin: 8px 0 20px;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

/* ── body sections ─────────────────────────────────────────────────────────── */
article section {
  margin-bottom: 48px;
}
article section h2 {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  letter-spacing: -.025em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 18px;
}
article section p {
  color: var(--ink-body);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 18px;
}
article section p:last-child { margin-bottom: 0; }
article section ul,
article section ol {
  color: var(--ink-body);
  font-size: 1rem;
  line-height: 1.75;
  padding-left: 1.5em;
  margin-bottom: 18px;
}
article section li { margin-bottom: 6px; }
article section strong { color: var(--ink); font-weight: 500; }
article section em { font-style: italic; }

/* inline links inside article body */
article section a { color: var(--teal); border-bottom: 1px solid transparent; }
article section a:hover { color: var(--teal-deep); border-color: var(--teal-deep); }

/* ── table ─────────────────────────────────────────────────────────────────── */
article section table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 8px;
  font-size: .92rem;
  overflow-x: auto;
  display: block;
}
article section thead th {
  font-family: var(--disp);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
  white-space: nowrap;
}
article section tbody tr:nth-child(even) { background: var(--bg2); }
article section tbody td {
  padding: 10px 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  line-height: 1.55;
}
article section tbody td:first-child {
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
}

/* ── blockquote ────────────────────────────────────────────────────────────── */
article section blockquote {
  border-left: 3px solid var(--teal-deep);
  margin: 24px 0;
  padding: 12px 22px;
  background: var(--panel);
  color: var(--ink-soft);
  font-size: .97rem;
  line-height: 1.7;
}

/* ── funnel block (cluster interlinks + the single convert CTA) ─────────────── */
.funnel {
  margin-top: 64px;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}
.funnel-more {
  font-family: var(--disp);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.funnel-links {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.funnel-links a {
  font-size: 1rem;
  line-height: 1.5;
  border-bottom: 1px solid transparent;
}
.funnel-links a:hover { color: var(--teal-deep); border-color: var(--teal-deep); }
.funnel-line {
  font-family: var(--disp);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 46ch;
}

/* ── FAQ ───────────────────────────────────────────────────────────────────── */
section.faq {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
section.faq > h2 {
  font-family: var(--disp);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 28px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 28px;
  background: var(--panel);
  margin-bottom: 14px;
  transition: border-color .2s;
}
.faq-item:hover { border-color: #234540; }
.faq-item h3 {
  font-family: var(--disp);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -.015em;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.4;
}
.faq-item p {
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ── insights index ─────────────────────────────────────────────────────────  */
.ins-index-intro {
  padding: 64px 0 48px;
  max-width: var(--col);
  margin: 0 auto;
}
.ins-index-intro h1 {
  font-family: var(--disp);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 16px;
}
.ins-index-intro p {
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.65;
}

.insight-list {
  list-style: none;
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 0 96px;
  display: grid;
  gap: 18px;
}

/* cards match homepage .bcard / .demo-card feel */
.insight-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 32px;
  background: var(--panel);
  transition: border-color .25s, transform .25s;
  position: relative;
}
.insight-item:hover {
  border-color: #234540;
  transform: translateY(-3px);
}
/* the <a> wraps the h2 — make the whole card clickable feel */
.insight-item a {
  color: inherit;
  text-decoration: none;
  display: block;
}
.insight-item a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.insight-item a:focus-visible::after {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.insight-item h2 {
  font-family: var(--disp);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 10px;
  transition: color .18s;
}
.insight-item:hover h2 { color: var(--teal); }

.insight-date {
  font-family: var(--disp);
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: .04em;
  display: block;
  margin-bottom: 10px;
}
.insight-item > p {
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ── guides hub ────────────────────────────────────────────────────────────
   The /guides/ index: a living, compounding index of Niagara guides, grouped
   by vertical. Cards reuse the .insight-item visual system above. */
.guides-eyebrow {
  font-family: var(--disp);
  font-size: 13px;
  letter-spacing: .02em;
  margin-bottom: 14px;
}
.guides-eyebrow a { color: var(--ink-faint); }
.guides-eyebrow a:hover { color: var(--teal); }

/* jump-nav chip bar — sticky just under the site header */
.guides-jumpnav {
  position: sticky;
  top: 59px;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0 13px;
  margin-bottom: 18px;
  background: rgba(7, 9, 12, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.guides-jumpnav a {
  font-family: var(--disp);
  font-size: 12.5px;
  color: var(--ink-soft);
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 40px;
  transition: border-color .2s, color .2s;
}
.guides-jumpnav a:hover { color: var(--ink); border-color: #234540; }

/* honest live-count signal (count derived from records at regen) */
.guides-livecount {
  font-family: var(--disp);
  font-size: 13.5px;
  color: var(--ink-faint);
  letter-spacing: .02em;
  margin-bottom: 44px;
}
.guides-livecount b { color: var(--teal); font-weight: 600; }

.guides-category {
  margin-bottom: 56px;
  scroll-margin-top: 128px;
}
.guides-category:last-of-type { margin-bottom: 96px; }
.guides-category-heading {
  font-family: var(--disp);
  font-weight: 500;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 4px;
}
.guides-category-count {
  font-family: var(--disp);
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: .04em;
  margin-bottom: 22px;
}
.guides-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
  gap: 18px;
  padding-bottom: 8px;
}

.guide-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 28px;
  background: var(--panel);
  transition: border-color .25s, transform .25s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.guide-card:hover { border-color: #234540; transform: translateY(-3px); }
.guide-card-title {
  font-family: var(--disp);
  font-weight: 500;
  font-size: 1.12rem;
  letter-spacing: -.02em;
  line-height: 1.28;
  margin-bottom: 11px;
}
.guide-card-title a {
  color: var(--ink);
  text-decoration: none;
  transition: color .18s;
}
.guide-card:hover .guide-card-title a { color: var(--teal); }
/* whole-card click target (matches the .insight-item pattern) */
.guide-card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.guide-card-title a:focus-visible::after {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.guide-card-desc {
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1.62;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guide-card-cta {
  font-family: var(--disp);
  font-size: 13px;
  color: var(--teal);
  margin-top: auto;
}

/* the "Beyond home & property" divider between the home and beyond branches */
.guides-branch-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 8px 0 38px;
  font-family: var(--disp);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.guides-branch-divider::before,
.guides-branch-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ── site footer (site-chrome.js: siteFooter()) ───────────────────────────── */
.ins-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 64px;
}
.ins-footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 44px;
}
.ins-footer-cta {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-soft);
}
.ins-footer-cta p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 44ch;
  margin: 0 auto 24px;
}
/* teal CTA button — matches homepage .go.teal */
.go {
  font-family: var(--disp);
  font-weight: 500;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 40px;
  display: inline-block;
  transition: transform .16s, box-shadow .25s;
  text-decoration: none;
}
.go.teal {
  background: linear-gradient(100deg, var(--teal), var(--teal-deep));
  color: #07090C;
}
.go.teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -12px rgba(95, 227, 208, .5);
  color: #07090C;
}
/* nav links row inside footer */
.ins-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin-bottom: 32px;
  font-family: var(--disp);
  font-size: 13.5px;
}
.ins-footer-nav a {
  color: var(--ink-soft);
  transition: color .2s;
}
.ins-footer-nav a:hover { color: var(--ink); }
/* bottom row: wordmark left, email + copyright right */
.ins-footer-fine {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.ins-footer-fine .mark { font-size: 16px; }
.ins-footer-fine-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.ins-footer-fine-right a {
  font-family: var(--disp);
  font-size: 13px;
  color: var(--teal);
  transition: color .2s;
}
.ins-footer-fine-right a:hover { color: var(--ink); }
.ins-footer-fine-right p {
  font-family: var(--disp);
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* ── mobile ─────────────────────────────────────────────────────────────────  */
@media (max-width: 820px) {
  .ins-header-inner { padding: 16px 22px; }
  .navr { gap: 20px; font-size: 13px; }
  main { padding: 0 22px; }
  .ins-reading-col { padding: 40px 0 64px; }
  .ins-index-intro { padding: 40px 0 28px; }
  .insight-list { padding-bottom: 64px; }
  .insight-item { padding: 24px 22px; }
  .guides-jumpnav { top: 55px; }
  .guide-card { padding: 22px 22px; }
  .guides-category { margin-bottom: 44px; }
  .ins-footer-inner { padding: 0 22px; }
}

@media (max-width: 480px) {
  .ins-header-inner { padding: 14px 16px; }
  .navr { gap: 16px; font-size: 12.5px; }
  main { padding: 0 16px; }
  .ins-footer-inner { padding: 0 16px; }
  .ins-footer-fine { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ins-footer-fine-right { align-items: flex-start; }
}

/* ── hamburger nav (phones / small tablets) ─────────────────────────────────── */
@media (max-width: 720px) {
  .ins-header-inner { position: relative; }
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; }
  .navr {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0;
    background: #07090C;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .8);
  }
  .navr.is-open { display: flex; }
  .navr a { padding: 13px 22px; font-size: 15px; }
}

/* ── reduced motion ─────────────────────────────────────────────────────────  */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ── convert page (the conversion endpoint /insights/see-your-living-website/) ─ */
.convert-hero { padding: 96px 0 56px; border-bottom: 1px solid var(--line); }
.convert-hero h1 {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  letter-spacing: -.03em;
  line-height: 1.04;
  color: var(--ink);
  max-width: 18ch;
}
.convert-lead {
  margin-top: 24px;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56ch;
}
.convert-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 36px;
}
.convert-line-link {
  font-family: var(--disp);
  font-size: 15px;
  color: var(--teal);
  border-bottom: 1px solid transparent;
}
.convert-line-link:hover { color: var(--ink); border-color: var(--teal-deep); }

.convert-value { padding: 64px 0; border-bottom: 1px solid var(--line); }
.convert-value > h2,
.convert-steps > h2,
.convert-contact > h2 {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 36px;
}
.convert-cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.convert-cards li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}
.convert-cards h3 {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -.015em;
  color: var(--ink);
  margin-bottom: 12px;
}
.convert-cards p { color: var(--ink-soft); font-size: .97rem; line-height: 1.65; }

.convert-steps { padding: 64px 0; border-bottom: 1px solid var(--line); }
.convert-steplist {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 18px;
  max-width: 64ch;
}
.convert-steplist li {
  counter-increment: step;
  position: relative;
  padding-left: 56px;
}
.convert-steplist li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--disp);
  font-weight: 600;
  font-size: 15px;
  color: var(--teal);
  border: 1px solid var(--teal-deep);
  border-radius: 50%;
}
.convert-steplist h3 {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 8px;
  padding-top: 6px;
}
.convert-steplist p { color: var(--ink-soft); font-size: .97rem; line-height: 1.65; }

.convert-contact { padding: 72px 0 96px; text-align: center; }
.convert-contact > h2 { margin-bottom: 16px; }
.convert-contact-line {
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 48ch;
  margin: 0 auto 32px;
}
.convert-contact .convert-actions { justify-content: center; }

@media (max-width: 820px) {
  .convert-cards { grid-template-columns: 1fr; }
  .convert-hero { padding: 64px 0 44px; }
  .convert-value, .convert-steps { padding: 48px 0; }
}

/* ── /tools/ hub: featured-tool cards + tag pills ──────────────────────────────
   Dogfood honesty-tooling hub. A responsive grid of tool cards; at N=1 the single
   card sits full-width and reads as a feature, and it degrades into a multi-column
   grid as tools are added (no layout rewrite). Same Signal tokens as the guides
   card grid. */
/* Align the shared live-count line to the hub content column (the base
   .guides-livecount is full-width for the guides hub; the modifier only affects
   /tools/). Teal number matches the guides hub's <b> treatment. */
.tools-livecount { max-width: var(--col); margin-left: auto; margin-right: auto; }
.guides-livecount strong { color: var(--teal); font-weight: 600; }
.tools-featured {
  display: grid;
  /* auto-FIT (not auto-fill): empty tracks collapse, so a single tool card spans
     the full column and reads as a feature; 2+ tools flow into columns. Aligned
     to the shared content column so it lines up with the centered masthead. */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: var(--col);
  margin: 8px auto 72px;
}
.tool-card-feat {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 34px 28px;
  text-decoration: none;
  transition: border-color .25s, transform .25s;
}
.tool-card-feat:hover { border-color: #234540; transform: translateY(-3px); }
.tool-card-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.tool-card-name {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0;
}
.tool-card-mono {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .8rem;
  color: var(--teal);
}
.tool-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 16px;
}
.tool-tag {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .72rem;
  letter-spacing: .02em;
  color: var(--ink-soft);
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
}
.tool-card-desc {
  color: var(--ink-body);
  font-size: 1rem;
  line-height: 1.62;
  margin: 0 0 20px;
  max-width: 62ch;
}
.tool-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.tool-card-links a {
  font-family: var(--disp);
  font-size: .9rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .18s;
}
.tool-card-links a:hover { color: var(--teal); }
.tool-card-links a.primary { color: var(--teal); font-weight: 600; }
.tools-why {
  border-top: 1px solid var(--line);
  padding: 40px 0 8px;
  max-width: var(--col);
  margin: 0 auto;
}
.tools-why h2 {
  font-family: var(--disp);
  font-weight: 500;
  font-size: 1.32rem;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 12px;
}
.tools-why p {
  color: var(--ink-soft);
  line-height: 1.68;
  margin: 0 0 14px;
}
.tools-why a { color: var(--teal); text-decoration: none; }
.tools-why a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .tools-featured { grid-template-columns: 1fr; }
  .tool-card-feat { padding: 24px 22px; }
  .tool-card-name { font-size: 1.28rem; }
}

/* Sources (corroboration block) */
.ins-sources {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.ins-sources h2 {
  font-family: var(--disp);
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 0 0 .75rem;
}
.ins-sources ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-body);
  font-size: .95rem;
}
.ins-sources ol > li { margin: .6rem 0; }
.ins-sources ol > li > ul {
  margin: .25rem 0 0;
  padding-left: 1.1rem;
  list-style: disc;
}
.ins-sources ol > li > ul li {
  font-size: .85rem;
  color: var(--ink-faint);
  margin: .15rem 0;
}

/* ── report/teardown pages (rp-* classes, scoped to .report-page) ───────────── */
:root {
  --ok:       #8FD9A8;
  --ok-dim:   #1B2A20;
  --warn-dim: #2E2415;
}

.report-page .summary-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 26px;
  margin: 24px 0 32px;
}
.report-page .summary-card .headline {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 14px;
}
.report-page .pillrow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.report-page .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  padding: 6px 11px;
  border-radius: 100px;
}
.report-page .pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.report-page .pill.ok   { background: var(--ok-dim);   color: var(--ok); }
.report-page .pill.flag { background: var(--warn-dim); color: var(--warm); }
.report-page .summary-card .note {
  font-size: 13px;
  color: var(--ink-faint);
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}
.report-page .rp-eyebrow {
  font-size: 12px;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.report-page .rp-lead { color: var(--ink-soft); font-size: 14px; margin-bottom: 12px; }
.report-page .rp-item.rp-ok::before   { content: "\2713"; color: var(--ok); margin-right: 6px; }
.report-page .rp-item.rp-flag::before { content: "!"; color: var(--warm); margin-right: 6px; font-weight: 700; }
.report-page .rp-fix {
  border-left: 2px solid var(--teal-deep);
  background: rgba(95, 227, 208, 0.05);
  padding: 10px 12px;
  border-radius: 0 4px 4px 0;
  margin-top: 10px;
}
.report-page .rp-fix strong { color: var(--teal); }

/* section card panel + per-section status badge (matches the approved mockup) */
.report-page section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 20px 22px;
  margin-bottom: 20px;
}
.report-page .rp-status {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.report-page .rp-status.ok   { background: var(--ok-dim);   color: var(--ok); }
.report-page .rp-status.flag { background: var(--warn-dim); color: var(--warm); }
