/* KeptIndex — a public record of dated company commitments and their outcomes.
   Tokens: cool ledger paper, navy ink, one link blue, and four outcome colours
   that are only ever used to mean an outcome. */

@font-face { font-family: "Public Sans"; font-weight: 400; font-display: swap; src: url("/static/fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 500; font-display: swap; src: url("/static/fonts/public-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-display: swap; src: url("/static/fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-display: swap; src: url("/static/fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 600; font-display: swap; src: url("/static/fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); }


:root {
  /* Warm ledger paper and deep petrol ink: a records house, not a trading terminal.
     Outcome colours are vivid and used ONLY to mean an outcome, so they stay legible. */
  --paper: #FAF6EF;
  --paper-deep: #F2ECE1;
  --panel: #FFFFFF;
  --ink: #0F3049;
  --ink-soft: #5A6E7E;
  --rule: #DFD6C7;
  --track: #C9BFAE;
  --brand: #0F3049;
  --brand-deep: #0A2336;
  --accent: #E39A2B;
  --blue: #1F62C4;
  --met: #0E7C56;
  --met-bright: #16A06E;
  --late: #C07A10;
  --notmet: #C33A50;
  --open: #6E8091;

  --tint-met: #E7F4EE;
  --tint-late: #FBF0DC;
  --tint-notmet: #FBEAEC;
  --tint-blue: #E8EFFA;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.5rem);
  --step-4: clamp(2.3rem, 1.5rem + 3.4vw, 3.5rem);

  --measure: 42rem;
  --wide: 66rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: var(--step-0); line-height: 1.55;
  font-variant-numeric: tabular-nums;
}
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
img, svg { max-width: 100%; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wide)); margin-inline: auto; }
.measure { max-width: var(--measure); }
.soft { color: var(--ink-soft); }
.small { font-size: var(--step--1); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------ header / footer */

.preview {
  background: var(--ink); color: #fff; font-size: var(--step--1); padding: 0.55rem 0;
}
.preview p { margin: 0; }

.site-head { padding: 0.95rem 0; background: var(--brand); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem 1.5rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: #fff; text-decoration: none; }
.brand svg { width: 76px; height: 29px; }
.brand span { font-family: var(--serif); font-weight: 700; font-size: 2rem; letter-spacing: -0.01em; color: #fff; }
.site-nav { display: flex; gap: 0.3rem 1.3rem; flex-wrap: wrap; }
.site-nav a { color: #D7E2EA; text-decoration: none; font-weight: 500; font-size: 0.97rem; padding-block: 0.2rem; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: #fff; border-bottom-color: rgba(255,255,255,.45); }
.site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }

main { padding-bottom: 5rem; }
.site-head + .ticker { border-top: 3px solid var(--accent); }

.site-foot { border-top: 1px solid var(--rule); background: var(--paper-deep); padding: 2.2rem 0 3rem; font-size: var(--step--1); color: var(--ink-soft); }
.site-foot .wrap { display: grid; gap: 1rem; grid-template-columns: 1fr auto; align-items: start; }
.site-foot nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.site-foot a { color: var(--ink-soft); }
@media (max-width: 40rem) { .site-foot .wrap { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ home */

.hero { padding: 3.2rem 0 1.5rem; }
@media (max-width: 40rem) { .hero { padding-top: 1.3rem; } .hero h1 { font-size: 2.05rem; } .hero .lede { font-size: 1.02rem; margin-top: 1rem; } .feature, .lead { padding: 1.15rem 1.05rem 1rem; } .score, .panel { padding: 1.2rem 1.1rem; }
  table.feed td.co { width: 38%; } table.feed td.res { width: 5.6rem; } }
.hero h1 { max-width: 18ch; }
.hero .lede { font-size: var(--step-1); line-height: 1.45; color: var(--ink-soft); max-width: 36rem; margin-top: 1.3rem; }

.feature { margin-top: 2.6rem; background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; padding: 1.6rem 1.7rem 1.4rem; }
.feature-note { font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 0.9rem; }
.feature .pl { height: 44px; }
.feature .pi-title { font-size: var(--step-2); }

.tally { margin: 2.4rem 0 0; font-family: var(--serif); font-size: var(--step-1); line-height: 1.5; max-width: 40rem; }
.tally strong { font-weight: 600; }

.section { margin-top: 4rem; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.4rem; flex-wrap: wrap; }
.section-head a { font-weight: 500; }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 1.4rem; counter-reset: step; }
.how li { list-style: none; counter-increment: step; }
.how li::before { content: counter(step); display: block; font-family: var(--serif); font-size: var(--step-2); font-weight: 600; color: var(--accent); margin-bottom: 0.3rem; }
.how h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.how p { color: var(--ink-soft); font-size: 0.98rem; }
.how { padding: 0; }
@media (max-width: 48rem) { .how { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ promise item */

.plist { list-style: none; margin: 0; padding: 0; }
.plist > li { border-top: 1px solid var(--rule); }
.plist > li:last-child { border-bottom: 1px solid var(--rule); }

.pi { padding: 1.35rem 0 1.2rem; display: grid; grid-template-columns: minmax(0, 1fr) 11rem; column-gap: 2rem; row-gap: 0.7rem; }
.pi-head { grid-column: 1; }
.pi-status { grid-column: 2; justify-self: end; text-align: right; font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.pi-status small { display: block; font-weight: 400; color: var(--ink-soft); font-size: var(--step--1); margin-top: 0.15rem; }
.pi-company { font-size: var(--step--1); font-weight: 600; color: var(--ink-soft); text-decoration: none; display: inline-block; margin-bottom: 0.2rem; }
.pi-company:hover { color: var(--ink); text-decoration: underline; }
.pi-title { font-size: 1.22rem; line-height: 1.3; font-weight: 600; }
.pi-title a { color: var(--ink); text-decoration: none; }
.pi-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.pi .pl, .pi .pi-dates { grid-column: 1 / -1; }
@media (max-width: 40rem) {
  .pi { grid-template-columns: 1fr; }
  .pi-status { grid-column: 1; justify-self: start; text-align: left; grid-row: 2; }
}

.st-kept { color: var(--met); }
.st-late { color: var(--late); }
.st-not_met { color: var(--notmet); }
.st-pending, .st-checking, .st-unresolved { color: var(--open); }

.pi-dates { display: flex; justify-content: space-between; gap: 1rem; margin: 0; font-size: var(--step--1); color: var(--ink-soft); }
.pi-dates div { display: flex; gap: 0.35rem; }
.pi-dates dt { font-weight: 400; }
.pi-dates dd { margin: 0; color: var(--ink); font-weight: 500; }
.pi-dates .d-due { text-align: center; }
.pi-dates .d-out { text-align: right; }
@media (max-width: 40rem) { .pi-dates { flex-direction: column; gap: 0.2rem; } }

/* ------------------------------------------------------------ the promise line */

.pl { position: relative; height: 30px; }
.pl::before { content: ""; position: absolute; left: 2%; right: 2%; top: 50%; height: 2px; margin-top: -1px; background: var(--track); border-radius: 1px; }
.pl-seg { position: absolute; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; }
.seg-elapsed { background: #8D98AD; }
.seg-remaining { height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, #8D98AD 0 5px, transparent 5px 9px); border-radius: 0; }
.seg-overrun { background: repeating-linear-gradient(90deg, var(--open) 0 3px, transparent 3px 6px); height: 4px; margin-top: -2px; }
.seg-met { background: var(--met); }
.seg-late { background: var(--late); }
.seg-notmet { background: repeating-linear-gradient(135deg, var(--notmet) 0 4px, #C9707F 4px 7px); }

.pl-deadline { position: absolute; top: 3px; bottom: 3px; width: 2px; margin-left: -1px; background: var(--ink); border-radius: 1px; }
.pl-today { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--blue); opacity: 0.8; }
.pl-dot { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; }
.dot-start { background: var(--paper); border: 2px solid var(--ink); }
.feature .dot-start, .panel .dot-start { background: var(--panel); }
.dot-kept { background: var(--met-bright); box-shadow: 0 0 0 3px var(--paper); }
.dot-late { background: var(--late); box-shadow: 0 0 0 3px var(--paper); }
.dot-not_met { background: var(--notmet); box-shadow: 0 0 0 3px var(--paper); }
.feature .pl-dot[class*="dot-"]:not(.dot-start), .panel .pl-dot[class*="dot-"]:not(.dot-start) { box-shadow: 0 0 0 3px var(--panel); }

.legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; font-size: var(--step--1); color: var(--ink-soft); margin: 0.6rem 0 0; padding: 0; list-style: none; }
.legend li { display: inline-flex; align-items: center; gap: 0.45rem; }
.key { display: inline-block; width: 18px; height: 6px; border-radius: 3px; }
.key-tick { width: 2px; height: 14px; background: var(--ink); border-radius: 1px; }
.key-today { width: 2px; height: 14px; background: var(--blue); }

/* ------------------------------------------------------------ company page */

.crumb { font-size: var(--step--1); margin: 1.6rem 0 0.8rem; }
.crumb a { color: var(--ink-soft); }
.page-head { padding: 2.2rem 0 1rem; }
.page-head .soft { margin-top: 0.7rem; }

.score { border-top: 4px solid var(--accent); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.5rem 2.2rem; align-items: end; margin: 2rem 0 0.5rem; padding: 1.5rem 1.7rem; background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; }
.score-figure { font-family: var(--serif); font-weight: 600; font-size: var(--step-4); line-height: 1; letter-spacing: -0.02em; }
.score-figure .of { font-weight: 400; color: var(--ink-soft); }
.score-text { font-size: var(--step-0); max-width: 30rem; }
.score-text p { margin: 0 0 0.6rem; }
.stack { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--track); grid-column: 1 / -1; margin-top: 0.8rem; }
.stack span { display: block; height: 100%; }
.stack .k-kept { background: var(--met); }
.stack .k-late { background: var(--late); }
.stack .k-not_met { background: var(--notmet); }
@media (max-width: 40rem) { .score { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ promise page */

.panel { background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; padding: 1.6rem 1.7rem; margin-top: 1.8rem; }
.panel .pl { height: 48px; }
.status-line { font-size: var(--step-1); font-weight: 600; margin: 0 0 1.2rem; }
.status-line small { font-weight: 400; color: var(--ink-soft); font-size: var(--step-0); }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; margin-top: 2.6rem; }
@media (max-width: 48rem) { .facts { grid-template-columns: 1fr; gap: 2rem; } }
.facts h2 { font-size: var(--step-1); margin-bottom: 0.9rem; }
blockquote { margin: 0 0 1rem; padding: 0.2rem 0 0.2rem 1.1rem; border-left: 3px solid var(--blue); font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; }
.meta { list-style: none; padding: 0; margin: 0; font-size: 0.97rem; }
.meta li { padding: 0.45rem 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; }
.meta li span:first-child { color: var(--ink-soft); }
.evidence { list-style: none; padding: 0; margin: 0.9rem 0 0; }
.evidence li { padding: 0.7rem 0; border-top: 1px solid var(--rule); font-size: 0.97rem; }
.evidence li a { font-weight: 500; }
.evidence li span { display: block; color: var(--ink-soft); font-size: var(--step--1); margin-top: 0.15rem; }
.dispute { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); font-size: 0.97rem;
  color: var(--ink-soft); max-width: var(--measure); }
.dispute p { margin-bottom: 0.9rem; }
.dispute-actions { display: flex; align-items: center; gap: 1rem 1.2rem; flex-wrap: wrap; }
.btn-ghost { background: transparent; color: var(--brand); border: 2px solid var(--brand); padding: 0.55rem 1.1rem; }
.btn-ghost:hover { background: var(--brand); color: #fff; }
a.btn { display: inline-block; text-decoration: none; }
.foot-cta { display: flex; align-items: center; gap: 0.9rem 1.1rem; flex-wrap: wrap; margin-top: 0.9rem; }

/* ------------------------------------------------------------ tables & filters */

.filter { margin: 1.6rem 0 1rem; display: flex; flex-direction: column; gap: 0.4rem; max-width: 26rem; }
.filter label { font-weight: 500; font-size: 0.97rem; }
.filter input { font: inherit; padding: 0.6rem 0.8rem; border: 1px solid var(--track); border-radius: 4px; background: var(--panel); color: var(--ink); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
th { text-align: left; font-weight: 600; font-size: var(--step--1); color: var(--ink-soft); padding: 0.6rem 0.8rem 0.6rem 0; border-bottom: 3px solid var(--accent); white-space: nowrap; }
td { padding: 0.7rem 0.8rem 0.7rem 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
td.num, th.num { text-align: right; }
td a { font-weight: 500; }
.empty { padding: 2rem 0; color: var(--ink-soft); }

/* ------------------------------------------------------------ prose pages */

.prose { max-width: var(--measure); }
.prose h2 { margin: 2.4rem 0 0.7rem; }
.prose h3 { margin: 1.8rem 0 0.5rem; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4rem; }
.prose dl dt { font-weight: 600; margin-top: 1rem; }
.prose dl dd { margin: 0.2rem 0 0; }
/* Legal pages (privacy, cookies) */
.legal h2 { font-size: 1.2rem; letter-spacing: 0.01em; scroll-margin-top: 1rem; }
.legal h3 { scroll-margin-top: 1rem; }
.legal p, .legal li { overflow-wrap: anywhere; }
.legal address { font-style: normal; margin: 0 0 1em; }
.legal .legal-toc li { margin-bottom: 0.25rem; }
.legal .table-scroll { overflow-x: auto; margin: 0 0 1.2em; }
.legal-table { font-size: 0.92rem; min-width: 34rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 0.55rem 0.7rem 0.55rem 0; border-bottom: 1px solid var(--rule); }
.legal-table td:last-child, .legal-table th:last-child { white-space: nowrap; font-weight: 600; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print { .site-nav, .preview, .dispute { display: none; } body { background: #fff; } }
.feature .pi { padding-top: 0.2rem; }

/* ------------------------------------------------------------ market-style home */

.ticker { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--panel);
  overflow: hidden; }
.ticker-inner { display: flex; width: max-content; animation: ticker-slide 70s linear infinite; }
.ticker-run { display: flex; }
.ticker:hover .ticker-inner, .ticker:focus-within .ticker-inner { animation-play-state: paused; }
@keyframes ticker-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* No motion for readers who ask for none: the strip becomes a normal scrollable row. */
@media (prefers-reduced-motion: reduce) {
  .ticker-inner { animation: none; width: auto; overflow-x: auto; scrollbar-width: none; }
  .ticker-inner::-webkit-scrollbar { display: none; }
  .ticker-run:last-child { display: none; }
}
.tick { flex: 0 0 auto; padding: 0.7rem 1.15rem; border-right: 1px solid var(--rule); white-space: nowrap;
  font-size: var(--step--1); display: flex; gap: 0.5rem; align-items: baseline; text-decoration: none; color: var(--ink); }
.tick:hover, .tick:focus-visible { background: var(--tint-blue); }
.tick:hover b { text-decoration: underline; text-underline-offset: 0.16em; }
.tick b { font-weight: 600; }
.tick i { font-style: normal; font-weight: 600; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--rule);
  border-radius: 6px; background: var(--panel); margin-top: 1.6rem; overflow: hidden; }
.stats div { padding: 1.05rem 1.2rem; border-right: 1px solid var(--rule); }
.stats div:nth-child(1) { background: var(--tint-blue); }
.stats div:nth-child(2) { background: var(--paper-deep); }
.stats div:nth-child(3) { background: var(--tint-late); }
.stats div:nth-child(4) { background: var(--tint-met); }
.stats div:last-child { border-right: 0; }
.stats dt { font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 0.25rem; }
.stats dd { margin: 0; font-family: var(--serif); font-size: 1.85rem; font-weight: 600; line-height: 1;
  letter-spacing: -0.02em; }
@media (max-width: 52rem) { .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(2) { border-right: 0; } .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--rule); } }

.board { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; margin-top: 3rem; }
@media (max-width: 62rem) { .board { grid-template-columns: 1fr; gap: 2.6rem; } }
.board h2 { font-size: var(--step-1); }
.board-head { display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 3px solid var(--accent); padding-bottom: 0.45rem; margin-bottom: 0.2rem; }
.board-head a { font-size: var(--step--1); font-weight: 500; }

table.feed { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
table.feed td { padding: 0.7rem 0 0.72rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.feed td.co { width: 34%; padding-right: 1rem; }
table.feed td.co a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: var(--step--1); }
table.feed td.co a:hover { color: var(--ink); text-decoration: underline; }
table.feed td.co span { display: block; color: var(--ink-soft); font-size: var(--step--1); font-weight: 400;
  margin-top: 0.12rem; }
table.feed td.what a { color: var(--ink); text-decoration: none; font-weight: 500; }
table.feed td.what a:hover { text-decoration: underline; }
table.feed td.res { width: 7.5rem; text-align: right; padding-left: 0.6rem; white-space: nowrap; }
table.feed .tag { font-weight: 600; font-size: var(--step--1); display: inline-block;
  padding: 0.12rem 0.45rem; border-radius: 3px; }
table.feed .tag.st-kept { background: var(--tint-met); }
table.feed .tag.st-late { background: var(--tint-late); }
table.feed .tag.st-not_met { background: var(--tint-notmet); }
table.feed .sub { display: block; color: var(--ink-soft); font-weight: 400; font-size: var(--step--1);
  margin-top: 0.12rem; }

.lead { margin-top: 2.2rem; background: var(--panel); border: 1px solid var(--rule); border-radius: 6px;
  border-top: 4px solid var(--brand); padding: 1.4rem 1.7rem 1.3rem; }
.lead-kicker { font-size: var(--step--1); color: var(--accent); font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 0.7rem; }

.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; margin-top: 1.4rem; padding: 0; list-style: none; }
.who li { border-top: 3px solid var(--accent); padding-top: 0.7rem; }
.who h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.who p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
@media (max-width: 62rem) { .who { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 34rem) { .who { grid-template-columns: 1fr; } }

.rank { width: 100%; border-collapse: collapse; font-size: 0.97rem; margin-top: 0.2rem; }
.rank td { padding: 0.55rem 0; border-bottom: 1px solid var(--rule); }
.rank td.n { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 0.8rem; }
.rank td a { color: var(--ink); text-decoration: none; font-weight: 500; }
.rank td a:hover { text-decoration: underline; }
.rank td small { color: var(--ink-soft); font-weight: 400; }

/* Feed rows become stacked blocks on narrow screens, where three columns are unreadable. */
@media (max-width: 46rem) {
  table.feed, table.feed tbody, table.feed tr, table.feed td { display: block; width: auto; }
  table.feed tr { border-bottom: 1px solid var(--rule); padding: 0.85rem 0 0.9rem; position: relative; }
  table.feed td { border: 0; padding: 0; }
  table.feed td.co { width: auto; padding-right: 6rem; }
  table.feed td.co span { display: inline; margin-left: 0.4rem; }
  table.feed td.what { margin-top: 0.15rem; padding-right: 6rem; }
  table.feed td.res { position: absolute; top: 0.85rem; right: 0; width: auto; text-align: right; }
  table.feed td.res .sub { margin-top: 0.1rem; }
}

/* ------------------------------------------------------------ outcome chart */

.chart-card { margin-top: 1.1rem; background: var(--panel); border: 1px solid var(--rule);
  border-radius: 6px; padding: 1.4rem 1.6rem 1.2rem; }
.chart-lede { color: var(--ink-soft); max-width: 46rem; margin: 0 0 1.2rem; }
.chart-lede b { color: var(--ink); font-weight: 600; }

.chart { display: flex; align-items: flex-end; gap: 2.2%; height: 190px;
  border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.chart .col { flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end;
  height: 100%; min-width: 0; }
.chart .stack { display: flex; flex-direction: column-reverse; border-radius: 3px 3px 0 0;
  overflow: hidden; min-height: 3px; }
.chart .stack span { display: block; }
.chart .seg-kept { background: var(--met); }
.chart .seg-late { background: var(--late); }
.chart .seg-not_met { background: var(--notmet); }
.chart .col:hover .stack { outline: 2px solid var(--brand); outline-offset: 1px; }
.chart .n { text-align: center; font-size: var(--step--1); font-weight: 600; color: var(--ink-soft);
  margin-bottom: 0.3rem; }
.chart-x { display: flex; gap: 2.2%; margin-top: 0.45rem; }
.chart-x div { flex: 1 1 0; text-align: center; font-size: var(--step--1); color: var(--ink-soft);
  min-width: 0; }
.chart-x div b { display: block; font-weight: 600; color: var(--ink); font-size: 0.7rem;
  white-space: nowrap; }
.chart-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  flex-wrap: wrap; margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--rule); }
.chart-foot .legend { margin: 0; }
.chart-foot .range { font-size: var(--step--1); color: var(--ink-soft); }
@media (max-width: 46rem) {
  .chart { height: 150px; }
  .chart .n { display: none; }
  .chart-x div { font-size: 0.64rem; }
  .chart-x div b { font-size: 0.58rem; }
  .chart, .chart-x { gap: 1.6%; }
  .chart-card { padding: 1.15rem 1.05rem 1rem; }
}

/* ------------------------------------------------------------ corrections form */

.cform { max-width: var(--measure); margin: 1.4rem 0 2.4rem; }
.cform .field { margin: 0 0 1.35rem; }
.cform label { display: block; font-weight: 600; font-size: 0.97rem; margin-bottom: 0.35rem; }
.cform .req, .cform .opt { font-weight: 400; font-size: var(--step--1); margin-left: 0.4rem; }
.cform .req { color: var(--notmet); }
.cform .opt { color: var(--ink-soft); }
.cform input[type="text"], .cform input[type="url"], .cform input[type="email"], .cform input[type="tel"], .cform input[type="password"],
.cform textarea, .cform select {
  font: inherit; width: 100%; padding: 0.62rem 0.75rem; border: 1px solid var(--track);
  border-radius: 4px; background: var(--panel); color: var(--ink); }
.cform textarea { resize: vertical; line-height: 1.5; }
.cform input:focus-visible, .cform textarea:focus-visible, .cform select:focus-visible {
  border-color: var(--brand); }
.cform .hint { display: block; font-size: var(--step--1); color: var(--ink-soft); margin-top: 0.3rem; }
.cform input[type="file"] { font: inherit; font-size: 0.95rem; }
.cform .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
@media (max-width: 40rem) { .cform .field-row { grid-template-columns: 1fr; } }
.cform .check { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start;
  background: var(--paper-deep); border: 1px solid var(--rule); border-radius: 4px;
  padding: 0.9rem 1rem; }
.cform .check input { width: 1.05rem; height: 1.05rem; margin-top: 0.18rem; accent-color: var(--brand); }
.cform .check label { font-weight: 400; margin: 0; }
.cform .check[hidden] { display: none; }
.cform .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn { font: inherit; font-weight: 600; background: var(--brand); color: #fff; border: 0;
  border-radius: 4px; padding: 0.72rem 1.5rem; cursor: pointer; }
.btn:hover { background: var(--brand-deep); }

/* Ghost button must come after .btn so it wins on the footer. */
a.btn.btn-ghost { background: transparent; color: var(--brand); border: 2px solid var(--brand);
  padding: 0.5rem 1.05rem; }
a.btn.btn-ghost:hover { background: var(--brand); color: #fff; }


/* ------------------------------------------------------------ newsletter */

.signup { margin-top: 3.4rem; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.2rem 2.4rem; align-items: center; background: var(--brand); color: #fff;
  border-radius: 6px; padding: 1.7rem 1.9rem; }
.signup h2 { color: #fff; font-size: var(--step-2); margin-bottom: 0.5rem; }
.signup p { color: #D7E2EA; max-width: 42rem; margin-bottom: 0.5rem; }
.signup p:last-of-type { margin-bottom: 0; }
.signup .small { color: #9DB2C2; }
.signup-action { margin: 0; }
.signup .btn { background: var(--accent); color: #17324A; white-space: nowrap; }
.signup .btn:hover { background: #F0AE43; }
.signup-wrap { margin-bottom: 3rem; }
.signup-strip { margin-top: 3rem; }
.signup-form { display: flex; gap: 0.6rem; margin: 0; min-width: min(100%, 24rem); }
.signup-form input[type="email"] { font: inherit; flex: 1 1 14rem; min-width: 0; padding: 0.62rem 0.75rem;
  border: 1px solid transparent; border-radius: 4px; background: #fff; color: var(--ink); }
.signup-form input[type="email"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.signup-embed { width: 26rem; max-width: 100%; min-height: 45px; }
.signup-embed iframe { width: 100%; border: 0; border-radius: 4px; background: transparent; }
@media (max-width: 46rem) {
  .signup-form { flex-direction: column; min-width: 0; }
  .signup-form input[type="email"] { flex: none; }
}
@media (max-width: 46rem) {
  .signup { grid-template-columns: 1fr; padding: 1.35rem 1.15rem; }
  .signup .btn { display: block; text-align: center; }
}


/* ------------------------------------------------------------ follow a company */

.follow { margin-top: 2.6rem; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 2rem; align-items: center; background: var(--panel); border: 1px solid var(--rule);
  border-left: 5px solid var(--accent); border-radius: 6px; padding: 1.3rem 1.5rem; }
.follow h2 { font-size: var(--step-1); margin-bottom: 0.35rem; }
.follow p { margin: 0; color: var(--ink-soft); max-width: 40rem; }
.follow-action { margin: 0; }
.follow .btn { white-space: nowrap; }
@media (max-width: 46rem) {
  .follow { grid-template-columns: 1fr; padding: 1.15rem 1.05rem; }
  .follow .btn { display: block; text-align: center; }
}


/* ------------------------------------------------------------ commitment DNA */

.dna { margin-top: 2.6rem; }
.dna h2 { font-size: var(--step-1); margin-bottom: 0.3rem; }
.dna-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 1rem 0 0;
  border: 1px solid var(--rule); border-radius: 6px; background: var(--panel); overflow: hidden; }
.dna-grid div { padding: 0.8rem 1rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.dna-grid dt { font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 0.2rem; }
.dna-grid dd { margin: 0; font-weight: 500; }
@media (max-width: 46rem) { .dna-grid { grid-template-columns: 1fr 1fr; } }


/* ------------------------------------------------------------ lineage and drift */

.lineage { margin-top: 2.6rem; }
.lineage h2, .drift-panel h2 { font-size: var(--step-1); margin-bottom: 0.3rem; }
.drift-chips { list-style: none; padding: 0; margin: 0.9rem 0 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { font-size: var(--step--1); font-weight: 600; padding: 0.28rem 0.65rem; border-radius: 999px;
  background: var(--paper-deep); border: 1px solid var(--rule); color: var(--ink); }
.chip-bad { background: var(--tint-late); border-color: #EAD2A6; color: #7A4E07; }
.chip-good { background: var(--tint-met); border-color: #BFE0D2; color: var(--met); }
.versions { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--rule); }
.versions li { position: relative; padding: 0.2rem 0 1.1rem 1.3rem; }
.versions li::before { content: ""; position: absolute; left: -8px; top: 0.45rem; width: 13px; height: 13px;
  border-radius: 50%; background: var(--panel); border: 3px solid var(--brand); }
.versions li:first-child::before { background: var(--brand); }
.versions p { margin: 0 0 0.25rem; }
.v-head { font-size: 0.97rem; }
.v-quote { font-size: 1rem; margin: 0.4rem 0; }
.drift-panel { margin-top: 1.4rem; background: var(--panel); border: 1px solid var(--rule); border-radius: 6px;
  padding: 1.2rem 1.4rem; }
.drift-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.8rem; margin: 0.8rem 0; }
.drift-stats dt { font-size: var(--step--1); color: var(--ink-soft); }
.drift-stats dd { margin: 0.15rem 0 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
@media (max-width: 52rem) { .drift-stats { grid-template-columns: repeat(2, 1fr); } }


/* ------------------------------------------------------------ evidence graph */

.evidence li.ev { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; }
.grade { display: inline-flex; align-items: center; justify-content: center; width: 1.55rem; height: 1.55rem;
  border-radius: 4px; font-weight: 700; font-size: 0.85rem; color: #fff; flex: none; }
.grade-A { background: var(--met); }
.grade-B { background: #2F6FB0; }
.grade-C { background: var(--late); }
.grade-D { background: var(--open); }
.ev-meta { display: block; font-size: var(--step--1); color: var(--ink-soft); margin-top: 0.1rem; }
.ev-note { display: block; font-size: 0.95rem; color: var(--ink-soft); margin-top: 0.2rem; }
.ev-passage { margin: 0.4rem 0 0; font-size: 0.97rem; }
.ev-ok, .ev-bad { display: block; font-family: var(--sans); font-style: normal; font-size: var(--step--1);
  font-weight: 600; margin-top: 0.25rem; }
.ev-ok { color: var(--met); }
.ev-bad { color: var(--notmet); }
.ev-strength { display: flex; align-items: center; gap: 0.5rem; margin: 0.2rem 0 0.8rem; font-weight: 600; }

/* badges inside the evidence list must win over the older .evidence span rule */
.evidence li.ev span.grade { display: inline-flex; align-items: center; justify-content: center;
  width: 1.55rem; height: 1.55rem; margin: 0.1rem 0 0; color: #fff; font-size: 0.85rem; font-weight: 700; }
.evidence li.ev span.ev-meta { display: block; }
.evidence li.ev span.ev-ok { color: var(--met); font-weight: 600; }
.evidence li.ev span.ev-bad { color: var(--notmet); font-weight: 600; }

/* ------------------------------------------------------------ newer outcome states */

.st-partial { color: #9A6A12; }
.st-withdrawn { color: #8E2F42; }
.st-superseded, .st-condition_failed { color: #4F6273; }
.seg-partial { background: repeating-linear-gradient(90deg, var(--met) 0 10px, var(--late) 10px 14px); }
.seg-withdrawn { background: #8E2F42; }
.stack .k-partial { background: #D9A441; }
.stack .k-withdrawn { background: #8E2F42; }
table.feed .tag.st-partial { background: var(--tint-late); }
table.feed .tag.st-withdrawn { background: var(--tint-notmet); }
table.feed .tag.st-superseded, table.feed .tag.st-condition_failed { background: var(--paper-deep); }


/* ------------------------------------------------------------ pro plans and watchlist */

.site-nav a.nav-pro { color: var(--accent); font-weight: 600; }
.site-nav a.nav-pro:hover, .site-nav a.nav-pro[aria-current="page"] { color: #fff; }
.follow-action { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.follow-action .btn-ghost { padding: 0.55rem 1.1rem; }

.eyebrow { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--late); margin: 0 0 0.6rem; }
.pro-hero { max-width: 48rem; }
.pro-hero .lede { font-size: var(--step-1); line-height: 1.45; margin-top: 1rem; }
.founding { display: inline-block; background: var(--tint-late); border: 1px solid #EAD2A6; border-radius: 4px;
  padding: 0.45rem 0.8rem; font-size: var(--step--1); margin: 0.4rem 0 0; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 1.8rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--rule);
  border-radius: 6px; padding: 1.5rem 1.5rem 1.4rem; }
.plan h2 { font-size: var(--step-1); }
.plan-main { border: 2px solid var(--brand); box-shadow: 0 6px 20px rgba(15, 48, 73, 0.08); }
.plan-flag { position: absolute; top: -0.8rem; left: 1.4rem; margin: 0; background: var(--brand); color: #fff;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 3px; }
.price { font-family: var(--serif); font-weight: 600; font-size: var(--step-3); line-height: 1; margin: 0.8rem 0 0.5rem; }
.price span { font-family: var(--sans); font-weight: 400; font-size: var(--step-0); color: var(--ink-soft); }
.ticks { list-style: none; padding: 0; margin: 0.4rem 0 1.4rem; font-size: 0.97rem; }
.ticks li { position: relative; padding-left: 1.5rem; margin-bottom: 0.55rem; }
.ticks li::before { content: ""; position: absolute; left: 0.1rem; top: 0.45rem; width: 0.55rem; height: 0.3rem;
  border-left: 2px solid var(--met); border-bottom: 2px solid var(--met); transform: rotate(-45deg); }
.plan-cta { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.plan-cta .btn { text-decoration: none; }
@media (max-width: 56rem) { .plans { grid-template-columns: 1fr; } }

.institutional { margin-top: 1.6rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem;
  align-items: center; background: var(--brand); color: #fff; border-radius: 6px; padding: 1.5rem 1.7rem; }
.institutional h2 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.institutional p { margin: 0; color: #D7E2EA; max-width: 44rem; }
.institutional .btn { background: var(--accent); color: var(--ink); text-decoration: none; white-space: nowrap; }
.institutional .btn:hover { background: #F0B24F; }
@media (max-width: 46rem) { .institutional { grid-template-columns: 1fr; } }

.mail { max-width: 40rem; background: var(--panel); border: 1px solid var(--rule); border-top: 4px solid var(--brand);
  border-radius: 6px; padding: 1.3rem 1.5rem; margin-top: 0.8rem; font-size: 0.97rem; }
.mail h3 { font-size: 1.05rem; margin: 1rem 0 0.3rem; }
.mail p { margin: 0 0 0.4rem; }
.mail-meta { border-bottom: 1px solid var(--rule); padding-bottom: 0.7rem; }
.faq { max-width: var(--measure); }
.faq h3 { font-size: 1.1rem; margin: 1.4rem 0 0.35rem; }

.watch-add { max-width: var(--measure); margin: 0.6rem 0 1.6rem; }
.watch-add label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.watch-add-row { display: flex; gap: 0.6rem; }
.watch-add-row input { flex: 1; min-width: 0; font: inherit; padding: 0.62rem 0.8rem; border: 1px solid var(--track);
  border-radius: 4px; background: #fff; color: var(--ink); }
.watch-add .small { margin: 0.4rem 0 0; min-height: 1.3em; }
.watch-list { display: grid; gap: 1rem; }
.watch-card { background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; padding: 1.2rem 1.4rem; }
.watch-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.watch-head h2 { font-size: var(--step-1); }
.watch-head h2 a { color: var(--ink); text-decoration: none; }
.watch-head h2 a:hover { text-decoration: underline; }
.watch-remove { font: inherit; font-size: var(--step--1); background: none; border: 0; color: var(--blue);
  cursor: pointer; text-decoration: underline; padding: 0.2rem; }
.watch-card > .small { margin: 0.3rem 0 0.8rem; }
.watch-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; }
.watch-col h3 { font-family: var(--sans); font-size: var(--step--1); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--ink-soft); margin: 0 0 0.4rem; }
.watch-col ul { list-style: none; padding: 0; margin: 0; }
.watch-col li { margin-bottom: 0.6rem; font-size: 0.97rem; line-height: 1.4; }
.watch-meta { display: block; font-size: var(--step--1); font-weight: 600; margin-top: 0.1rem; }
.watch-meta.st-pending, .watch-meta.st-checking { color: var(--ink-soft); }
@media (max-width: 46rem) { .watch-cols { grid-template-columns: 1fr; } .watch-add-row { flex-direction: column; } }
@media (max-width: 46rem) { .follow-action > * { flex: 1 1 100%; text-align: center; } }


/* ------------------------------------------------------------ institutional data page */

.cov { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 1.6rem 0 0.5rem;
  background: var(--panel); border: 1px solid var(--rule); border-top: 4px solid var(--accent); border-radius: 6px; }
.cov > div { padding: 1.1rem 1.3rem; border-right: 1px solid var(--rule); }
.cov > div:last-child { border-right: 0; }
.cov-n { display: block; font-family: var(--serif); font-weight: 600; font-size: var(--step-3); line-height: 1.1; }
.cov-l { display: block; font-size: var(--step--1); color: var(--ink-soft); margin-top: 0.2rem; }
@media (max-width: 46rem) { .cov { grid-template-columns: 1fr 1fr; } .cov > div:nth-child(2) { border-right: 0; }
  .cov > div:nth-child(-n+2) { border-bottom: 1px solid var(--rule); } }
.uses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.uses > div { background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; padding: 1.1rem 1.2rem; }
.uses h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.uses p { margin: 0; font-size: 0.97rem; color: var(--ink-soft); }
@media (max-width: 60rem) { .uses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 40rem) { .uses { grid-template-columns: 1fr; } }
.dict-wrap { overflow-x: auto; margin-top: 0.8rem; border: 1px solid var(--rule); border-radius: 6px; background: var(--panel); }
table.dict { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
table.dict th, table.dict td { text-align: left; vertical-align: top; padding: 0.55rem 0.9rem; border-bottom: 1px solid var(--rule); }
table.dict th { font-size: var(--step--1); color: var(--ink-soft); background: var(--paper-deep); }
table.dict td:first-child { white-space: nowrap; }
table.dict code { font-size: 0.9rem; }

.cal-offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center;
  background: var(--panel); border: 1px solid var(--rule); border-left: 5px solid var(--met); border-radius: 6px; padding: 1.2rem 1.5rem; margin-top: 0.8rem; }
.cal-offer p { margin: 0 0 0.6rem; }
.cal-actions { display: flex; flex-direction: column; gap: 0.6rem; margin: 0; }
.cal-actions .btn { text-align: center; text-decoration: none; white-space: nowrap; }
@media (max-width: 46rem) { .cal-offer { grid-template-columns: 1fr; } }
.cal-offer > .cal-actions { order: 2; }
.cal-offer > p.small { order: 3; grid-column: 1 / -1; }
.preview a { color: inherit; text-decoration: underline; }

/* ------------------------------------------------------------ execution profile */

.profile { margin-top: 1.4rem; }
.profile h2 { font-size: var(--step-1); margin-bottom: 0.6rem; }
.profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 0.6rem;
  background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.profile-grid > div { padding: 0.9rem 1.1rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.profile-grid > div:nth-child(3n) { border-right: 0; }
.profile-grid dt { font-size: var(--step--1); color: var(--ink-soft); }
.profile-grid dd { margin: 0.15rem 0 0; font-family: var(--serif); font-weight: 600; font-size: 1.6rem; line-height: 1.2; }
.profile-grid span { display: block; font-size: var(--step--1); color: var(--ink-soft); margin-top: 0.15rem; }
@media (max-width: 46rem) { .profile-grid { grid-template-columns: 1fr 1fr; }
  .profile-grid > div:nth-child(3n) { border-right: 1px solid var(--rule); } .profile-grid > div:nth-child(2n) { border-right: 0; } }

/* ------------------------------------------------------------ Kept Score progress */

.ks { min-width: 11rem; }
.ks-bar { display: block; height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; margin: 0.35rem 0 0.25rem; max-width: 9rem; }
.ks-bar span { display: block; height: 100%; background: var(--accent); }
.sort-label { margin-left: 1rem; }
#company-sort { font: inherit; padding: 0.35rem 0.5rem; border: 1px solid var(--track); border-radius: 4px; background: #fff; color: var(--ink); }

/* ------------------------------------------------------------ products, why, solutions, faq */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.cards3 > div, .card { background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; padding: 1.2rem 1.3rem; }
.cards3 h3, .card h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.cards3 p, .card p { font-size: 0.97rem; color: var(--ink-soft); margin: 0 0 0.6rem; }
.cards3 p:last-child, .card p:last-child { margin-bottom: 0; }
@media (max-width: 60rem) { .cards3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 40rem) { .cards3 { grid-template-columns: 1fr; } }
.tag { display: inline-block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.12rem 0.5rem; border-radius: 3px; margin-bottom: 0.5rem; background: #E6F3EC; color: #0E6B47; }
.tag-pilot { background: #FFF4DE; color: #8A5A00; }
.tag-soon { background: #ECEFF3; color: #4A5B6B; }
.layers { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0.6rem; max-width: 48rem; }
.layers li { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem; align-items: baseline;
  background: var(--panel); border: 1px solid var(--rule); border-left: 4px solid var(--brand); border-radius: 6px; padding: 0.9rem 1.1rem; }
.layers li:nth-child(2) { border-left-color: #16A06E; }
.layers li:nth-child(3) { border-left-color: #6E8091; }
.layers b { font-family: var(--serif); font-size: 1.15rem; }
.layers span { color: var(--ink-soft); font-size: 0.97rem; }
@media (max-width: 40rem) { .layers li { grid-template-columns: 1fr; gap: 0.2rem; } }
.solution { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--rule); max-width: 52rem; }
.solution h2 { font-size: var(--step-1); }
.solution .q { font-family: var(--serif); font-size: 1.15rem; margin: 0.4rem 0 0.8rem; }
.findings { margin: 1.2rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.findings div { border-top: 3px solid var(--brand); padding-top: 0.7rem; }
.findings b { display: block; font-family: var(--serif); font-size: var(--step-3); line-height: 1.1; }
.findings span { display: block; font-size: 0.93rem; color: var(--ink-soft); margin-top: 0.3rem; }
@media (max-width: 48rem) { .findings { grid-template-columns: 1fr 1fr; } }
.faq details { border-bottom: 1px solid var(--rule); padding: 0.9rem 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.faq details p { margin: 0.6rem 0 0; color: var(--ink-soft); }
.faq h2 { margin-top: 2.4rem; }
.cta-band { margin-top: 3rem; background: var(--brand); color: #fff; border-radius: 6px; padding: 1.6rem 1.7rem;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center; }
.cta-band h2 { color: #fff; font-size: var(--step-1); margin: 0 0 0.3rem; }
.cta-band p { margin: 0; color: #D6E0E8; }
.cta-band .btn { background: #16A06E; white-space: nowrap; }
@media (max-width: 40rem) { .cta-band { grid-template-columns: 1fr; } }
@media (max-width: 40rem) { .signup { grid-template-columns: minmax(0, 1fr); padding-inline: 1.1rem; } .signup-embed, .signup-embed iframe { max-width: 100%; min-width: 0; } }
.site-foot .wrap { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1rem 3rem; }
.site-foot nav { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 0.45rem 2rem; align-content: start; }
@media (max-width: 40rem) { .site-foot .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------ KeptBase */
.kb-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 52rem; }
.kb-form label { display: grid; gap: 0.35rem; font-size: 0.93rem; font-weight: 600; color: var(--ink-soft); }
.kb-form select { font: inherit; font-weight: 400; color: var(--ink); padding: 0.55rem 0.6rem; border: 1px solid var(--track); border-radius: 4px; background: #fff; min-width: 0; }
.kb-result { margin-top: 1.4rem; background: var(--panel); border: 1px solid var(--rule); border-left: 4px solid #16A06E; border-radius: 6px; padding: 1.2rem 1.4rem; max-width: 52rem; }
.kb-big { margin: 0; font-family: var(--serif); font-size: var(--step-1); }
.kb-big b { font-size: var(--step-4, 3rem); line-height: 1; margin-right: 0.3rem; }
.kb-result p { margin: 0.4rem 0 0; }
@media (max-width: 48rem) { .kb-form { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ index pages, coverage and claims (11 Oct 2026) */

.co-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; align-items: center; margin: 0.7rem 0 0;
  font-size: var(--step--1); color: var(--ink-soft); }
.co-badge { font-weight: 700; letter-spacing: 0.03em; padding: 0.22rem 0.6rem; border-radius: 4px;
  background: var(--brand); color: #fff; text-decoration: none; }
.co-badge:hover { background: var(--brand-deep); color: #fff; }
.co-badge-soft { background: transparent; color: var(--brand); border: 1px solid var(--brand); }
.co-badge-soft:hover { color: #fff; }
.co-meta span + span::before, .co-meta a + span::before { content: none; }
.stub-panel h2, .due-panel h2, .peer-panel h2 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.due-panel, .peer-panel { margin-top: 2.4rem; }
.due-list { list-style: none; padding: 0; margin: 0.8rem 0 0; border-top: 1px solid var(--rule); }
.due-list li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.4rem 1rem; padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule); }
.due-date { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--late); }
@media (max-width: 40rem) { .due-list li { grid-template-columns: 1fr; } }
.peer-panel p { max-width: 44rem; }
.claim-band { margin-top: 2.8rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem;
  align-items: center; background: var(--paper-deep); border: 1px solid var(--rule); border-left: 4px solid var(--accent);
  border-radius: 6px; padding: 1.3rem 1.5rem; }
.claim-band h2 { font-size: var(--step-1); margin-bottom: 0.35rem; }
.claim-band p { margin: 0; color: var(--ink-soft); max-width: 40rem; }
.claim-band .btn { white-space: nowrap; }
@media (max-width: 40rem) { .claim-band { grid-template-columns: 1fr; } }
.claim-list { padding-left: 1.3rem; }
.claim-list li { margin-bottom: 0.8rem; }
.cform fieldset { border: 0; padding: 0; }
.cform fieldset legend { font-weight: 600; font-size: 0.97rem; margin-bottom: 0.4rem; }
.cform fieldset label { display: inline; font-weight: 400; }
.idx-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.4rem 0 0.4rem; }
.idx-card { display: block; padding: 1rem 1.2rem; background: var(--panel); border: 1px solid var(--rule); border-radius: 6px;
  text-decoration: none; color: var(--ink); }
.idx-card:hover { border-color: var(--brand); }
.idx-card b { display: block; font-family: var(--serif); font-size: var(--step-1); color: var(--brand); }
.idx-card span { display: block; font-size: var(--step--1); color: var(--ink-soft); margin-top: 0.2rem; }
@media (max-width: 40rem) { .idx-links { grid-template-columns: 1fr; } }
.filter select { font: inherit; padding: 0.55rem 0.7rem; border: 1px solid var(--track); border-radius: 4px; background: var(--panel); color: var(--ink); }
.filter-row { flex-direction: row; flex-wrap: wrap; align-items: end; max-width: none; gap: 0.8rem 1.2rem; }
.filter-row > label { width: 100%; margin: 0; }
.filter-row > label.sort-label { display: none; }
.filter-row input { flex: 1 1 16rem; max-width: 24rem; }
.filter-row select { flex: 0 1 14rem; }

/* ------------------------------------------------------------ home: "Is your company on KeptIndex?" (11 Oct 2026) */

.lookup { margin: 2rem 0 0.5rem; max-width: 46rem; background: var(--brand); color: #fff; border-radius: 10px;
  padding: 1.6rem 1.7rem 1.3rem; border-top: 5px solid var(--accent); box-shadow: 0 10px 30px -18px rgba(13,40,60,.55); }
.lookup-eyebrow { margin: 0 0 0.35rem; font-size: var(--step--1); font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); }
.lookup h2 { color: #fff; font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.15rem); line-height: 1.15; margin: 0; }
.lookup-sub { color: #D7E2EA; margin: 0.6rem 0 1.1rem; max-width: 40rem; }
.lookup-form { display: flex; gap: 0.6rem; }
.lookup-form input { flex: 1 1 auto; min-width: 0; font: inherit; font-size: 1.08rem; padding: 0.85rem 1rem;
  border: 2px solid transparent; border-radius: 6px; background: #fff; color: #10202c; }
.lookup-form input:focus-visible { outline: none; border-color: var(--accent); }
.lookup .lookup-btn { background: var(--accent); color: #1b1300; font-size: 1.05rem; padding: 0.85rem 1.4rem; border-radius: 6px; }
.lookup .lookup-btn:hover { filter: brightness(1.06); background: var(--accent); }
.lookup-status { min-height: 0; margin: 0.4rem 0 0; font-size: var(--step--1); color: #AFC2D0; }
.lookup-results { list-style: none; margin: 0.6rem 0 0; padding: 0; background: #fff; border-radius: 8px; overflow: hidden; color: #10202c; }
.lookup-hit { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.6rem 1rem; align-items: center;
  padding: 0.85rem 1rem; border-bottom: 1px solid #E6E1D8; }
.lookup-hit:last-child { border-bottom: 0; }
.lookup-name { font-weight: 700; color: #0F2C42; margin-right: 0.5rem; }
.lookup-tk { font-size: var(--step--1); font-weight: 600; color: #4A5B6B; margin-right: 0.45rem; }
.lookup-ix { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: #0F2C42;
  color: #fff; border-radius: 3px; padding: 0.12rem 0.4rem; }
.lookup-meta { display: block; font-size: var(--step--1); color: #2F7D5B; margin-top: 0.2rem; font-weight: 600; }
.lookup-acts { display: flex; gap: 0.45rem; }
.lookup-acts .btn { padding: 0.45rem 0.85rem; font-size: 0.92rem; }
.lookup-acts .btn:not(.btn-ghost) { background: var(--accent); color: #1b1300; }
.lookup-none { padding: 0.9rem 1rem; }
.lookup-try { margin: 0.8rem 0 0; font-size: var(--step--1); color: #AFC2D0; }
.lookup-try a { color: #fff; }
@media (max-width: 40rem) {
  .lookup { padding: 1.2rem 1.1rem 1rem; }
  .lookup-form { flex-direction: column; }
  .lookup-hit { grid-template-columns: 1fr; }
  .lookup-or { display: block; margin-top: 0.3rem; }
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 2.5rem; align-items: center; }
@media (min-width: 62rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .hero-grid .lookup { margin-top: 0; }
  .hero-grid h1 { font-size: clamp(2.4rem, 1.2rem + 2.4vw, 3.3rem); }
}
.lookup-hit { grid-template-columns: 1fr; gap: 0.55rem; }
.lookup-ix, .lookup-tk { white-space: nowrap; }
@media (max-width: 61.99rem) {
  .hero-grid .rec-card { margin-top: 1.6rem; }
}

/* Miss Risk and market reaction (Oct 2026) */
.miss-risk { margin-top: 1.2rem; border-left: 4px solid var(--open); }
.miss-risk.mr-high { border-left-color: var(--notmet); background: var(--tint-notmet); }
.miss-risk.mr-elevated { border-left-color: var(--late); background: var(--tint-late); }
.miss-risk.mr-typical { border-left-color: var(--met); }
.risk-tag { display: inline-block; font-size: var(--step--1); font-weight: 600; padding: 0.1rem 0.5rem; border-radius: 999px; white-space: nowrap; }
.risk-tag.mr-high { background: var(--tint-notmet); color: var(--notmet); }
.risk-tag.mr-elevated { background: var(--tint-late); color: #7A4E07; }
.reaction { margin-top: 0.9rem; }
.reaction .neg, td.neg { color: var(--notmet); }
.reaction .pos, td.pos { color: var(--met); }
table.risk { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
table.risk th, table.risk td { text-align: left; padding: 0.55rem 0.5rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.risk th { font-weight: 600; color: var(--ink-soft); }
.table-scroll { overflow-x: auto; }
.bands { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0.8rem; margin: 1rem 0; }
.bands > div { background: var(--panel); border: 1px solid var(--rule); border-radius: 8px; padding: 0.9rem 1rem; }
.bands b { display: block; font-size: var(--step-2); font-family: var(--serif); }
.risk-tag.mr-typical { background: var(--tint-met); color: var(--met); }
.watch-bulk { margin: 0.6rem 0 1.2rem; }
.watch-bulk summary { cursor: pointer; font-weight: 600; }
.watch-bulk textarea { display: block; width: 100%; max-width: 36rem; margin: 0.4rem 0 0.6rem; font: inherit; padding: 0.5rem; border: 1px solid var(--rule); border-radius: 6px; box-sizing: border-box; }
.xray { margin: 0.5rem 0 1.5rem; }
#xr-top { margin-top: 0.8rem; }
.dc-text { display: block; width: 100%; font: inherit; padding: 0.7rem; border: 1px solid var(--rule); border-radius: 8px; box-sizing: border-box; background: var(--panel); margin: 0.6rem 0; }
.dc-out { padding-left: 1.2rem; }
.dc-item { margin: 1rem 0; }
.dc-item blockquote { margin: 0.2rem 0 0.4rem; font-family: var(--serif); }
.dc-flags { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.dc-flags li { color: #7A4E07; margin: 0.25rem 0; }

/* ---- added 18 Oct 2026: double-checked stat, changes log, early warning, programs, trail, reply ---- */
.stats.stats5 { grid-template-columns: repeat(5, 1fr); }
.stats.stats5 div:nth-child(4) { background: var(--tint-blue); }
.stats.stats5 div:nth-child(5) { background: var(--tint-met); }
.stats dd a { color: inherit; text-decoration: none; border-bottom: 2px solid var(--accent); }
@media (max-width: 52rem) { .stats.stats5 { grid-template-columns: repeat(2, 1fr); } }
.stats-note { margin: 0.6rem 0 0; }
.warn-band, .india-band { margin-top: 2.6rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem;
  align-items: center; border-radius: 6px; padding: 1.3rem 1.5rem; border: 1px solid var(--rule); }
.warn-band { background: var(--tint-late); border-left: 4px solid var(--late); }
.india-band { background: var(--tint-blue); border-left: 4px solid var(--blue); margin-top: 3rem; }
.warn-band h2, .india-band h2 { font-size: var(--step-1); margin: 0.2rem 0 0.35rem; }
.warn-band p, .india-band p { margin: 0; color: var(--ink-soft); max-width: 44rem; }
@media (max-width: 40rem) { .warn-band, .india-band { grid-template-columns: 1fr; } }
.prog-card { display: block; background: var(--panel); border: 1px solid var(--rule); border-radius: 6px;
  padding: 1.2rem 1.3rem; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.prog-card:hover { border-color: var(--ink); transform: translateY(-1px); }
.prog-card h3 { font-size: 1.12rem; margin: 0.5rem 0 0.4rem; }
.prog-card p { font-size: 0.97rem; color: var(--ink-soft); margin: 0; }
.trail { list-style: none; padding: 0; margin: 1rem 0 0; border-left: 2px solid var(--rule); }
.trail li { position: relative; padding: 0 0 1rem 1.4rem; }
.trail li::before { content: ""; position: absolute; left: -7px; top: 0.35rem; width: 12px; height: 12px; border-radius: 50%;
  background: var(--open); box-shadow: 0 0 0 3px var(--paper); }
.trail li.ok::before { background: var(--met); }
.trail li.no::before { background: var(--late); }
.trail b { display: block; }
.trail span { color: var(--ink-soft); font-size: 0.97rem; }
.trail-status { font-weight: 600; margin: 0.4rem 0 0; }
.reply-box { margin-top: 2rem; background: var(--panel); border: 1px solid var(--rule); border-left: 4px solid var(--blue);
  border-radius: 6px; padding: 1.2rem 1.4rem; }
.reply-box blockquote { margin: 0.5rem 0; font-family: var(--serif); font-size: 1.05rem; }
.log-day { border-top: 1px solid var(--rule); padding: 1.2rem 0; }
.log-day h2 { font-size: var(--step-1); margin: 0 0 0.6rem; }
.log-figs { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; margin: 0 0 0.6rem; padding: 0; list-style: none; }
.log-figs b { font-family: var(--serif); font-size: 1.25rem; margin-right: 0.3rem; }
.log-day details { margin-top: 0.5rem; }
.log-day summary { cursor: pointer; font-weight: 600; }
.log-list { font-size: 0.95rem; margin: 0.6rem 0 0; padding-left: 1.2rem; }
.log-list li { margin: 0.35rem 0; }
.log-list span { color: var(--ink-soft); }
.sig { display: inline-block; font-size: 0.8rem; font-weight: 600; background: var(--tint-late); color: #7A4E07;
  border-radius: 3px; padding: 0.1rem 0.45rem; margin: 0.15rem 0.3rem 0 0; }
.figs4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 1.4rem 0; }
.figs4 > div { background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; padding: 1rem 1.1rem; }
.figs4 b { display: block; font-family: var(--serif); font-size: 1.8rem; line-height: 1.1; }
.figs4 span { font-size: var(--step--1); color: var(--ink-soft); }
@media (max-width: 52rem) { .figs4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pipeline-steps { counter-reset: st; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem; margin: 1.2rem 0; }
.pipeline-steps li { counter-increment: st; background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; padding: 1rem 1.1rem; }
.pipeline-steps li::before { content: counter(st); font-family: var(--serif); font-weight: 600; color: var(--accent); font-size: var(--step-1); }
.pipeline-steps h3 { margin: 0.2rem 0 0.35rem; font-size: 1.05rem; }
.pipeline-steps p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
@media (max-width: 52rem) { .pipeline-steps { grid-template-columns: 1fr; } }
.who-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: 0.97rem; }
.who-table th, .who-table td { text-align: left; vertical-align: top; padding: 0.6rem 0.7rem; border-bottom: 1px solid var(--rule); }
.who-table th { background: var(--paper-deep); font-weight: 600; }
.price-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.4rem 0; }
.price-cards > div { background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; padding: 1.3rem; display: flex; flex-direction: column; }
.price-cards .price { font-family: var(--serif); font-size: 2rem; font-weight: 600; margin: 0.3rem 0; }
.price-cards ul { padding-left: 1.1rem; font-size: 0.95rem; color: var(--ink-soft); flex: 1; }
.price-cards .featured { border: 2px solid var(--ink); }
@media (max-width: 52rem) { .price-cards { grid-template-columns: 1fr; } }
.ew-table td.sigs { min-width: 14rem; }
.wide-prose { max-width: var(--wide); }
@media (max-width: 40rem) { .who-table { display: block; overflow-x: auto; } .ew-table td.sigs { min-width: 0; } }
.price-cards .btn { text-align: center; }
.ev-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.9rem; margin: 0.7rem 0 0; font-size: var(--step--1); }
.ev-links .grade { width: 1.3rem; height: 1.3rem; font-size: 0.75rem; }
.ev-links a { font-weight: 500; }
.ev-mini { display: block; font-size: 0.78rem; margin-top: 0.2rem; }
.ev-links .ev-ok { display: inline; }

/* header menus, 18 Oct 2026 */
.site-nav { align-items: center; }
.nav-dd { position: relative; }
.nav-dd > summary { list-style: none; cursor: pointer; color: #D7E2EA; font-weight: 500; font-size: 0.97rem; padding-block: 0.2rem; }
.nav-dd > summary::-webkit-details-marker { display: none; }
.nav-dd > summary::after { content: " ▾"; font-size: 0.75em; }
.nav-dd[open] > summary, .nav-dd > summary:hover { color: #fff; }
.dd-panel { position: absolute; z-index: 50; top: calc(100% + 0.6rem); left: 0; min-width: 16rem; background: var(--panel);
  border: 1px solid var(--rule); border-top: 3px solid var(--accent); border-radius: 6px; box-shadow: 0 12px 30px rgba(15,48,73,.18);
  padding: 0.8rem 1rem; display: grid; gap: 0.15rem; }
.dd-panel.dd-wide { grid-template-columns: repeat(3, minmax(11rem, 1fr)); gap: 0 1.6rem; min-width: 38rem; }
.dd-panel a { color: var(--ink) !important; border: 0 !important; padding: 0.3rem 0 !important; font-size: 0.95rem; display: block; text-decoration: none; }
.dd-panel a:hover { color: var(--blue) !important; }
.dd-h { margin: 0.4rem 0 0.2rem; font-size: 0.72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.dd-sub { display: block; font-size: 0.78rem; color: var(--ink-soft); font-weight: 400; }
.dd-new { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; background: var(--accent); color: #fff; border-radius: 3px; padding: 0 0.3rem; margin-left: 0.2rem; }
.dd-price { font-size: 0.75rem; background: rgba(255,255,255,.14); border-radius: 3px; padding: 0.05rem 0.35rem; margin-left: 0.15rem; }
@media (max-width: 52rem) { .dd-panel.dd-wide { grid-template-columns: 1fr; min-width: 15rem; } .dd-panel { position: fixed; left: 16px; right: 16px; top: auto; min-width: 0; max-height: 70vh; overflow: auto; } }

/* Header, 19 Oct 2026: news and buying links always in view, audience menu, company search */
.topbar { background: #0B1E2D; color: #B9C7D2; font-size: 0.82rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 0.3rem 1.2rem; flex-wrap: wrap; padding-block: 0.35rem; }
.topbar p { margin: 0; }
.topbar a { color: #E6EEF4; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-cta a { font-weight: 600; margin-left: 1.1rem; }
.topbar-cta a:first-child { margin-left: 0; color: #fff; }
.nav-search input { width: 11rem; padding: 0.3rem 0.55rem; border-radius: 4px; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1); color: #fff; font: inherit; font-size: 0.9rem; }
.nav-search input::placeholder { color: #B9C7D2; }
.site-nav a.nav-btn { border: 1px solid rgba(255,255,255,.45); border-radius: 4px; padding: 0.25rem 0.7rem; color: #fff; }
.site-nav a.nav-btn:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.site-nav a.nav-btn.nav-pro { background: var(--accent); border-color: var(--accent); color: #fff; }
.site-nav a.nav-btn.nav-pro:hover { filter: brightness(1.08); }
@media (max-width: 52rem) {
  .topbar-news, .tb-long { display: none; }
  .topbar-cta a { margin-left: 0.8rem; }
  .nav-search { order: 9; width: 100%; }
  .nav-search input { width: 100%; }
}

/* Sitemap page (19 Oct 2026) */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.6rem 2rem; margin: 1rem 0 2rem; }
.sitemap-grid h2 { font-size: var(--step-1); margin-bottom: .5rem; }
.sitemap-grid ul, .sitemap-cos { list-style: none; padding: 0; margin: 0; }
.sitemap-grid li { margin: .3rem 0; }
.sitemap-letter { font-size: 1rem; margin: 1.4rem 0 .4rem; border-bottom: 1px solid var(--rule); padding-bottom: .2rem; }
.sitemap-cos { columns: 3 15rem; column-gap: 2rem; }
.sitemap-cos li { break-inside: avoid; margin: .18rem 0; font-size: .95rem; }

/* Contact page (19 Oct 2026) */
.contact-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(14rem, 1fr); gap: 2.4rem; margin: 1rem 0 3rem; }
.contact-direct p { margin: 0 0 1rem; }
@media (max-width: 48rem) { .contact-grid { grid-template-columns: 1fr; } }

/* review status labels and worked example, 20 Oct 2026 */
.rv { display: inline-block; font-family: var(--sans); font-size: 0.78rem; font-weight: 600; padding: 0.1rem 0.5rem; border-radius: 999px; border: 1px solid currentColor; line-height: 1.5; }
.rv-human_reviewed { color: var(--met); background: var(--tint-met); }
.rv-model_agreed, .rv-extracted { color: var(--blue); background: var(--tint-blue); }
.rv-disputed { color: var(--late); background: var(--tint-late); }
.rv-open { color: var(--open); }
.review-band { background: var(--tint-blue); border: 1px solid #C9D8F2; border-radius: 8px; padding: 1.1rem 1.3rem; margin: 1.4rem 0; }
.review-band h2, .review-band h3 { margin-top: 0; }
.review-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.8rem; margin: 0.8rem 0 0; padding: 0; list-style: none; }
.review-steps li { background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; padding: 0.7rem 0.9rem; }
.review-steps b { display: block; }
.wx { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.wx > div { background: var(--panel); border: 1px solid var(--rule); border-radius: 8px; padding: 1rem 1.1rem; }
.wx blockquote { margin: 0.5rem 0; padding: 0.6rem 0.8rem; background: var(--paper-deep); border-left: 3px solid var(--brand); font-style: normal; }
.wx dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.25rem 0.9rem; margin: 0.6rem 0 0; font-size: var(--step--1); }
.wx dt { color: var(--ink-soft); }
.wx dd { margin: 0; }
.scope-table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.scope-table th, .scope-table td { border-top: 1px solid var(--rule); padding: 0.55rem 0.6rem; text-align: left; vertical-align: top; }
.scope-table th { width: 30%; }
@media (max-width: 44rem) { .wx { grid-template-columns: 1fr; } .scope-table th { width: auto; } }

/* products at the top + proprietary method band, 20 Oct 2026 */
.prod-main { margin-top: 1rem; }
.prod-main > div { display: flex; flex-direction: column; }
.prod-main > div p:last-child { margin-top: auto; padding-top: .4rem; }
.prod-feature { border: 2px solid var(--brand) !important; }
.prod-tiles { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: .6rem; }
.prod-tiles a { display: block; height: 100%; background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; padding: .65rem .8rem; text-decoration: none; color: var(--ink); }
.prod-tiles a:hover { border-color: var(--brand); }
.prod-tiles b { display: block; font-family: var(--sans); }
.prod-tiles span { display: block; font-size: .8rem; color: var(--ink-soft); margin-top: .15rem; }
.method-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.4rem; align-items: center; background: var(--brand); color: #fff; border-radius: 10px; padding: 1.4rem 1.6rem; margin: 2rem 0 0; }
.method-band h2 { color: #fff; margin: .2rem 0 .5rem; }
.method-band p { color: #E6EDF3; margin: 0; }
.method-band .lead-kicker { color: var(--accent); }
.method-points { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.method-points li { background: rgba(255,255,255,.07); border-radius: 6px; padding: .5rem .75rem; font-size: var(--step--1); color: #E6EDF3; }
.method-points b { display: block; color: #fff; font-family: var(--sans); }
@media (max-width: 48rem) { .method-band { grid-template-columns: 1fr; } }

/* proprietary method strip inside the site header, 20 Oct 2026 */
.method-strip { background: var(--brand-deep); border-top: 1px solid rgba(255,255,255,.12); border-bottom: 3px solid var(--accent); color: #E6EDF3; margin: 0.95rem 0 -0.95rem; }
.method-strip .wrap { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "k k k" "t p l"; gap: .25rem 1.4rem; align-items: center; padding: .7rem 0 .75rem; }
.method-strip p { margin: 0; }
.ms-kicker { grid-area: k; font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.ms-text { grid-area: t; font-size: var(--step--1); max-width: 34rem; }
.ms-text b { color: #fff; font-family: var(--serif); font-size: 1.05rem; display: block; }
.ms-points { grid-area: p; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; justify-content: flex-end; }
.ms-points li { font-family: var(--sans); font-size: .75rem; font-weight: 600; color: #fff; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: .15rem .6rem; }
.ms-link { grid-area: l; font-family: var(--sans); font-weight: 700; color: var(--accent) !important; white-space: nowrap; text-decoration: none; }
.ms-link:hover { text-decoration: underline; }
.site-head:has(.method-strip) + .ticker { border-top: 0; }
@media (max-width: 60rem) {
  .method-strip .wrap { grid-template-columns: 1fr auto; grid-template-areas: "k k" "t l" "p p"; }
  .ms-points { justify-content: flex-start; }
}
@media (max-width: 34rem) {
  .method-strip .wrap { grid-template-columns: 1fr; grid-template-areas: "k" "t" "p" "l"; }
  .ms-points li:nth-child(n+4) { display: none; }
}

/* Home redesign, 21 Oct 2026: proof card in the hero, lookup band, grouped products, buyer cards, FAQ */
.rec-card { background: var(--panel); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden;
  box-shadow: 0 18px 40px -28px rgba(13,40,60,.45); border-top: 4px solid var(--brand); }
.rec-head { display: flex; justify-content: space-between; gap: .8rem; background: var(--paper-deep); padding: .55rem 1.1rem;
  font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 1px solid var(--rule); }
.rec-head span:last-child { letter-spacing: .02em; text-transform: none; font-weight: 600; }
.rec-body { padding: 1.1rem 1.2rem 1rem; }
.rec-title { display: flex; justify-content: space-between; align-items: flex-start; gap: .8rem; }
.rec-title h2 { font-size: 1.28rem; line-height: 1.25; margin: .15rem 0 0; }
.rec-meta { margin: 0; font-family: var(--sans); font-size: var(--step--1); font-weight: 600; color: var(--ink-soft); }
.rec-title .tag { flex: none; }
.rec-line { list-style: none; margin: 1.1rem 0 0; padding: 0 0 0 1.3rem; border-left: 2px solid var(--track); }
.rec-line li { position: relative; padding: 0 0 .85rem; }
.rec-line li::before { content: ""; position: absolute; left: calc(-1.3rem - 6px); top: .35rem; width: 10px; height: 10px; border-radius: 50%;
  background: var(--panel); border: 2px solid var(--open); }
.rec-line li.rec-moved::before { border-color: var(--late); background: var(--late); }
.rec-line li.rec-out::before { border-color: var(--met); background: var(--met); }
.rec-line li:last-child { padding-bottom: 0; }
.rec-line b { display: block; font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.rec-line b a { color: var(--ink); }
.rec-line li.rec-moved b { color: #7A4E07; }
.rec-line li.rec-moved b a { color: #7A4E07; }
.rec-line span { display: block; font-size: .9rem; color: var(--ink-soft); margin-top: .1rem; }
.rec-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; margin-top: 1rem; padding-top: .75rem;
  border-top: 1px solid var(--rule); font-family: var(--sans); font-size: .8rem; color: var(--ink-soft); }
.rec-foot a { font-weight: 700; }

.lookup-band { max-width: none; margin: 1.8rem 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1rem 2rem; align-items: center; }
.lookup-band .lookup-sub { margin-bottom: 0; }
@media (max-width: 52rem) { .lookup-band { grid-template-columns: minmax(0, 1fr); } }

.prod-groups { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 1rem 1.2rem; margin-top: 1.2rem; }
.prod-groups .prod-tiles { margin-top: .4rem; grid-template-columns: 1fr; }
.prod-groups > div:nth-child(2) .prod-tiles { grid-template-columns: 1fr 1fr; }
.pg-h { margin: 0; font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft);
  border-bottom: 2px solid var(--rule); padding-bottom: .3rem; }
@media (max-width: 56rem) { .prod-groups { grid-template-columns: 1fr; } .prod-groups .prod-tiles, .prod-groups > div:nth-child(2) .prod-tiles { grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); } }

.who-buy { grid-template-columns: repeat(3, 1fr); }
.who-buy li { display: flex; flex-direction: column; }
.who-tag { margin: 0 0 .15rem !important; font-family: var(--sans); font-size: .72rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent) !important; }
.who-q { font-family: var(--serif); font-style: italic; color: var(--ink) !important; margin: .55rem 0 0 !important; }
.who-cta { margin-top: auto !important; padding-top: .55rem; font-family: var(--sans); font-size: .88rem !important; font-weight: 600; }
@media (max-width: 62rem) { .who-buy { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 34rem) { .who-buy { grid-template-columns: 1fr; } }

.faq-list { margin-top: .6rem; max-width: 52rem; }
.faq-list details { border-bottom: 1px solid var(--rule); padding: .8rem 0; }
.faq-list summary { cursor: pointer; font-weight: 600; font-family: var(--sans); }
.faq-list details p { color: var(--ink-soft); margin: .55rem 0 0; }

/* Above-the-fold fit on 13-14 inch laptops (21 Oct 2026): lookup beside the sample record, slimmer hero and method strip */
.lookup-mini { margin: 1.1rem 0 0; max-width: 34rem; padding: 1rem 1.15rem .85rem; border-top-width: 4px; }
.lookup-mini h2 { font-size: 1.3rem; }
.lookup-mini .lookup-sub { font-size: .9rem; margin: .3rem 0 .65rem; }
.lookup-mini .lookup-form input { font-size: 1rem; padding: .6rem .8rem; }
.lookup-mini .lookup-btn { font-size: 1rem; padding: .6rem 1.1rem; }
.lookup-mini .lookup-try { margin-top: .5rem; }
.lookup-mini .lookup-results { position: relative; z-index: 5; }
@media (min-width: 62rem) {
  .hero { padding-top: 1.6rem; }
  .hero-grid { align-items: start; }
  .hero-grid h1 { font-size: clamp(2.1rem, 1rem + 1.9vw, 2.75rem); }
  .hero .lede { font-size: 1.05rem; margin-top: .8rem; }
  .hero-grid .hero-actions { margin-top: .9rem !important; }
  .rec-body { padding: .85rem 1.1rem .8rem; }
  .rec-line { margin-top: .75rem; }
  .rec-line li { padding-bottom: .55rem; }
  .rec-line span { font-size: .85rem; }
  .rec-foot { margin-top: .7rem; padding-top: .55rem; }
}
@media (min-width: 60rem) {
  .method-strip .wrap { grid-template-columns: auto minmax(0,1fr) auto; grid-template-areas: "k p l" "t p l"; padding: .45rem 0 .5rem; gap: .05rem 1.2rem; }
  .ms-text { max-width: none; white-space: nowrap; }
  .ms-sub { display: none; }
  .ms-points { justify-content: flex-end; }
  .ms-text b { display: inline; font-size: .98rem; margin-right: .35rem; }
  .ms-points { flex-wrap: nowrap; }
}
@media (min-width: 60rem) and (max-width: 80rem) { .ms-points li:nth-child(n+4) { display: none; } }
@media (min-width: 62rem) { .hero h1, .hero-grid h1 { max-width: 22ch; } }
@media (min-width: 60rem) { .ms-points li { white-space: nowrap; } }
@media (min-width: 60rem) and (max-width: 100rem) { .ms-points li:nth-child(n+5) { display: none; } }

/* Customer-first offers (21 Oct 2026): free sample band, promises list */
.try-first { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; background: var(--tint-met);
  border: 1px solid #BFE0CF; border-left: 4px solid var(--met); border-radius: 8px; padding: 1rem 1.2rem; margin: 0 0 1.4rem; }
.try-first p { margin: 0; max-width: 46rem; }
.try-first .lead-kicker { color: var(--met); margin-bottom: .2rem; }
.promise-list { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .8rem; }
.promise-list li { background: var(--panel); border: 1px solid var(--rule); border-top: 3px solid var(--met); border-radius: 6px; padding: .8rem .95rem; color: var(--ink-soft); }
.promise-list b { display: block; color: var(--ink); font-family: var(--sans); margin-bottom: .2rem; }
.tf-link { font-family: var(--sans); font-size: .9rem; font-weight: 600; margin-left: .5rem; white-space: nowrap; }

/* Header sign-in link (22 Oct 2026) */
.nav-signin { font-size: 0.92rem; margin-left: 0.6rem; color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
.nav-signin:hover { color: var(--brand); text-decoration: underline; }

/* Company page buy-and-follow strip (22 Oct 2026) */
.buy-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem 1.2rem;
  margin: 1.6rem 0; padding: 1rem 1.2rem; border: 1px solid var(--rule); border-left: 4px solid var(--met);
  border-radius: 6px; background: var(--panel); }
.buy-strip b { display: block; }
.buy-strip p { margin: 0; display: flex; gap: .5rem; flex-wrap: wrap; }

/* Home: audience chips in the first screen, and the audience grid moved up under the hero (26 Oct 2026) */
.aud-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .35rem; margin: 1.1rem 0 .2rem; }
.aud-label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-right: .2rem; white-space: nowrap; }
.aud-bar a { font-size: .84rem; font-weight: 600; color: var(--brand); text-decoration: none; background: var(--panel);
  border: 1px solid var(--rule); border-radius: 999px; padding: .24rem .6rem; white-space: nowrap; }
.aud-bar a:hover, .aud-bar a:focus-visible { background: var(--brand); color: #fff; border-color: var(--brand); }
.who-top { margin-top: 1.8rem; }
.who-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem 1.6rem; }
.who-8 li { scroll-margin-top: 1.5rem; }
.who-8 li:target { background: var(--tint-blue); box-shadow: 0 0 0 .6rem var(--tint-blue); border-radius: 2px; }
.who-8 .who-cta { margin-top: auto !important; padding-top: .6rem; font-size: .9rem; }
@media (max-width: 64rem) { .who-8 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) {
  .who-8 { grid-template-columns: 1fr; }
  .aud-bar { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-bottom: .3rem; scrollbar-width: none; }
  .brand span { font-size: 1.65rem; }
  .brand svg { width: 64px; height: 24px; }
}

/* Hero brand line (26 Oct 2026), matching the business card:
   name + "The Commitment Intelligence" on the left, "What's Your KeptScore?" (coming soon) on the right. */
.hero-brand { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem;
  padding: 0 0 1.15rem; margin: 0 0 1.4rem; border-bottom: 1px solid var(--rule); }
.hb-name { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
.hb-word { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.15rem);
  line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.hb-tag { margin: 0; display: inline-block; padding: .34rem .9rem .32rem; border-radius: 999px;
  background: linear-gradient(90deg, #DDF3E8, #EEF8F3); border: 1px solid #BFE6D2; color: var(--ink);
  font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; line-height: 1.2; }
.hb-score { position: relative; display: inline-flex; align-items: center; gap: .9rem; overflow: hidden;
  padding: .7rem 1rem .7rem 1.25rem; border-radius: 14px; text-decoration: none;
  background: radial-gradient(120% 160% at 100% 0%, #0E5A57 0%, rgba(14,90,87,0) 55%), linear-gradient(135deg, #0F3049, #0A2336);
  box-shadow: 0 10px 24px -14px rgba(10,35,54,.55), inset 0 0 0 1px rgba(255,255,255,.06);
  transition: transform .18s ease, box-shadow .18s ease; }
.hb-score:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -14px rgba(10,35,54,.6), inset 0 0 0 1px rgba(255,255,255,.1); }
.hb-q { font-family: var(--serif); font-weight: 600; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.1;
  color: #fff; letter-spacing: -0.01em; white-space: nowrap; }
.hb-q b { color: #2BE39A; font-weight: 600; }
.hb-soon { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .7rem; border-radius: 999px;
  border: 1px solid rgba(43,227,154,.45); background: rgba(43,227,154,.1); color: #BFF5DD;
  font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.hb-soon i { width: .45rem; height: .45rem; border-radius: 50%; background: #2BE39A; box-shadow: 0 0 0 0 rgba(43,227,154,.6);
  animation: hb-pulse 2.2s ease-out infinite; }
@keyframes hb-pulse { 0% { box-shadow: 0 0 0 0 rgba(43,227,154,.55); } 70%, 100% { box-shadow: 0 0 0 .45rem rgba(43,227,154,0); } }
@media (prefers-reduced-motion: reduce) { .hb-soon i { animation: none; } .hb-score { transition: none; } }
@media (max-width: 40rem) {
  .hero-brand { gap: .9rem; padding-bottom: 1rem; margin-bottom: 1.1rem; }
  .hb-tag { font-size: .64rem; letter-spacing: .2em; }
  .hb-score { width: 100%; justify-content: space-between; padding: .65rem .85rem .65rem 1rem; }
  .hb-q { font-size: 1.1rem; }
  .hb-soon { font-size: .6rem; letter-spacing: .14em; padding: .28rem .55rem; }
}

/* Home top section (26 Oct 2026): brand line, headline, intro and audiences above the notice bars and navigation */
.hero-top { background: var(--paper); padding: 1.6rem 0 1.5rem; border-bottom: 1px solid var(--rule); }
.hero-top .hero-brand { margin-bottom: 1.5rem; }
.hb-home { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.hb-logo { width: 72px; height: 28px; flex: none; }
.hb-home .hb-word { display: block; }
.hero-top h1 { font-size: clamp(2.1rem, 1.2rem + 2.6vw, 3.4rem); max-width: 32ch; }
.hero-top .lede { font-size: var(--step-1); line-height: 1.45; color: var(--ink-soft); max-width: 46rem; margin: 1rem 0 0; }
.hero-top .aud-bar { margin-top: 1.2rem; }
.hero-top + .preview, .hero-top + .topbar { border-top: 0; }
@media (max-width: 40rem) {
  .hero-top { padding: 1.1rem 0 1.2rem; }
  .hb-logo { width: 58px; height: 22px; }
  .hero-top h1 { font-size: 2.05rem; }
  .hero-top .lede { font-size: 1.02rem; }
}
/* the main hero now holds the actions, company lookup and the sample record */
.hero-top ~ main .hero { padding-top: 1.6rem; }
.hero-top ~ main .hero-copy .hero-actions { margin-top: 0 !important; }

/* Home offers line (26 Oct 2026): top right of the hero, replacing the notice bars */
.hero-util { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: .3rem 1.4rem;
  margin: 0 0 1.1rem; font-size: .84rem; }
.hero-util a { color: var(--ink-soft); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.hero-util a:hover { color: var(--ink); text-decoration: underline; }
.hero-util b { color: var(--ink); font-weight: 600; }
.hero-util i { width: .4rem; height: .4rem; border-radius: 50%; background: var(--met-bright); }
.hero-util .hu-cta { color: var(--ink); font-weight: 600; padding: .32rem .85rem; border: 1px solid var(--track); border-radius: 999px; background: var(--panel); }
.hero-util .hu-cta:hover { border-color: var(--ink); text-decoration: none; }
.hero-top { padding-top: 1rem; }
.hero-top ~ .site-head { border-top: 0; }
@media (max-width: 40rem) {
  .hero-util { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; gap: 1rem; margin: 0 -1.25rem .9rem; padding: 0 1.25rem .2rem;
    scrollbar-width: none; white-space: nowrap; font-size: .8rem; }
  .hero-util::-webkit-scrollbar { display: none; }
}

/* Header as one block (26 Oct 2026): offers line in the header's navy, divided by a hairline, not a separate dark band */
.topbar { background: var(--brand); color: #AFC0CD; font-size: .8rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.topbar .wrap { align-items: center; padding-block: .5rem; }
.topbar-news { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1.3rem; }
.topbar a { color: #AFC0CD; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar b { color: #fff; font-weight: 600; }
.topbar i { width: .4rem; height: .4rem; border-radius: 50%; background: #2BE39A; }
.topbar-cta a, .topbar-cta a:first-child { margin-left: 0; color: #fff; font-weight: 600; padding: .22rem .75rem; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; }
.topbar-cta a:hover { border-color: #fff; }
.site-head { padding-top: .8rem; }
@media (max-width: 40rem) {
  .topbar .wrap { flex-wrap: nowrap; }
  .topbar-news { display: flex; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; min-width: 0; }
  .topbar-news::-webkit-scrollbar { display: none; }
  .topbar-news a:nth-child(n+2) { display: none; }
  .topbar-cta { flex: none; }
}
.tb-narrow { display: none; }
/* Phone header (26 Oct 2026): three tidy rows: menus and sign-in, then the buttons, then search */
@media (max-width: 40rem) {
  .tb-wide { display: none; } .tb-narrow { display: inline; }
  .topbar .wrap { padding-block: .45rem; gap: .8rem; }
  .topbar-cta a { padding: .2rem .65rem; }
  .site-head { padding: .7rem 0 .9rem; }
  .site-head .wrap { gap: .75rem; }
  .brand svg { width: 60px; height: 23px; }
  .brand span { font-size: 1.6rem; }
  .site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.1rem; width: 100%; }
  .site-nav .nav-dd > summary, .site-nav a { font-size: .95rem; white-space: nowrap; }
  .site-nav .nav-dd { order: 0; }
  .site-nav a[href="/account/"] { order: 1; margin-left: auto; }
  .site-nav::before { content: ""; order: 2; flex-basis: 100%; height: 0; }
  .site-nav a.nav-btn, .site-nav a[href="/portfolio-check/"] { order: 3; flex: 1 1 0; text-align: center; padding: .45rem .5rem; border-radius: 6px; }
  .site-nav a[href="/portfolio-check/"] { border: 1px solid rgba(255,255,255,.28); color: #fff; }
  .nav-search { order: 4; flex-basis: 100%; width: 100%; }
  .nav-search input { width: 100%; padding: .55rem .75rem; border-radius: 6px; font-size: 1rem; }
}

/* Commitment calendars (26 Oct 2026) */
.cal-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.6rem 0; }
.cal-cta > div { border: 1px solid var(--rule); border-radius: 6px; padding: 1rem 1.2rem; background: var(--paper-deep); }
.cal-cta-a { margin: 0.7rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
@media (max-width: 46rem) { .cal-cta { grid-template-columns: 1fr; } }
.cal-check { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 400; }
.cal-mh { margin: 2rem 0 0.3rem; font-size: var(--step-1, 1.25rem); }
.cal-table td.cal-due { width: 7.8rem; white-space: nowrap; padding-right: 0.8rem; }
.cal-table td.cal-due span { display: block; color: var(--ink-soft); font-size: var(--step--1); }
table.feed.cal-table td.co { width: 15rem; padding-right: 1rem; }
.cal-table .cal-ann { display: block; margin-top: 0.15rem; }
@media (max-width: 40rem) { table.feed.cal-table, table.feed.cal-table tbody, table.feed.cal-table tr, table.feed.cal-table td { display: block; width: auto; }
  table.feed.cal-table td { border-bottom: 0; padding: 0.15rem 0; } table.feed.cal-table tr { border-bottom: 1px solid var(--rule); padding: 0.6rem 0; }
  .cal-table td.cal-due span { display: inline; margin-left: 0.4rem; } }

/* ------------------------------------------------------------ company record tools (27 Oct 2026)
   Section bar, outcome filters and a compact list for long records. Presentation only: every entry
   stays on the page; the script only shows or hides them. */
.co-jump { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: .25rem; margin: 1.4rem 0 0;
  padding: .45rem 0; background: var(--paper); border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; }
.co-jump::-webkit-scrollbar { display: none; }
.co-jump a { flex: none; color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 600; padding: .38rem .7rem; border-radius: 4px; white-space: nowrap; }
.co-jump a:hover { background: var(--paper-deep); }
.co-jump a span { font-weight: 500; color: var(--ink-soft); margin-left: .2rem; font-size: .82rem; }
.co-jump .co-jump-buy { margin-left: auto; background: var(--brand); color: #fff; }
.co-jump .co-jump-buy:hover { background: var(--brand-deep); }
#overview, #due, #sector, #drift, #record, #get-report { scroll-margin-top: 4rem; }

.rec-tools { display: grid; grid-template-columns: 1fr auto; gap: .7rem 1rem; align-items: center; margin: 1rem 0 0;
  padding: .8rem; background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; }
.rec-tools[hidden] { display: none; }
.rec-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.rec-chips button, .rec-view button { font: inherit; font-size: .85rem; font-weight: 600; color: var(--ink); background: var(--paper);
  border: 1px solid var(--rule); border-radius: 999px; padding: .32rem .75rem; cursor: pointer; }
.rec-chips button span { font-weight: 500; color: var(--ink-soft); margin-left: .15rem; }
.rec-chips button[aria-pressed="true"], .rec-view button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.rec-chips button[aria-pressed="true"] span { color: #C9D6E0; }
.rec-side { display: flex; gap: .5rem; align-items: center; }
.rec-side input { font: inherit; font-size: .9rem; padding: .38rem .6rem; border: 1px solid var(--track); border-radius: 4px; background: #fff; color: var(--ink); width: 13rem; }
.rec-view { display: flex; }
.rec-view button { border-radius: 0; }
.rec-view button:first-child { border-radius: 999px 0 0 999px; }
.rec-view button:last-child { border-radius: 0 999px 999px 0; border-left: 0; }
.rec-status { grid-column: 1 / -1; margin: 0; }
.rec-status:empty { display: none; }
@media (max-width: 52rem) { .rec-tools { grid-template-columns: 1fr; } .rec-side { flex-wrap: wrap; } .rec-side input { flex: 1 1 10rem; width: auto; } }

/* Compact list: one tight row per commitment (title, outcome, dates, evidence); timelines hidden. */
.plist-compact .pi { padding: .75rem 0 .7rem; row-gap: .25rem; }
.plist-compact .pi .pl { display: none; }
.plist-compact .pi-title { font-size: 1.02rem; font-family: var(--sans); }
.plist-compact .pi-status { font-size: .88rem; }
.plist-compact .pi-dates { justify-content: flex-start; gap: .2rem 1.4rem; flex-wrap: wrap; }
.plist-compact .pi-dates .d-due, .plist-compact .pi-dates .d-out { text-align: left; }
.plist-compact .pi-dates .d-out:empty { display: none; }
.plist-compact .ev-links { margin-top: .1rem; }
@media (max-width: 40rem) { .plist-compact .pi-dates { flex-direction: row; } }
@media (min-width: 40.01rem) {
  .plist-compact .pi .pi-dates, .plist-compact .pi .ev-links { grid-column: 1; }
  .plist-compact .pi-status { grid-row: 1 / span 3; align-self: start; }
}

/* Companies screener (27 Oct 2026) */
.screener { max-width: none; display: grid; grid-template-columns: minmax(12rem, 22rem) minmax(10rem, 14rem) minmax(10rem, 14rem); gap: .35rem 1rem; align-items: end; }
.screener label { grid-row: 1; margin: 0; font-size: .9rem; }
.screener input, .screener select { grid-row: 2; width: 100%; }
.screener #filter-status { grid-column: 1 / -1; }
@media (max-width: 52rem) { .screener { grid-template-columns: 1fr; } .screener label, .screener input, .screener select { grid-row: auto; } }
@media (max-width: 52rem) { .col-sector { display: none; } }
.stub-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }

/* Product bar and products menu (27 Oct 2026): every product visible in the header at a glance */
.site-head { padding-bottom: 0 !important; }
.prod-bar { margin-top: .85rem; background: rgba(0,0,0,.18); border-top: 1px solid rgba(255,255,255,.1); }
.prod-bar .wrap { display: flex; align-items: flex-start; gap: 1rem; flex-wrap: nowrap; position: relative; }
.pb-label { flex: none; padding-top: .95rem; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.prod-bar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; overflow-x: auto; scrollbar-width: none; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.prod-bar ul::-webkit-scrollbar { display: none; }
.prod-bar li { flex: none; }
.prod-bar a { display: flex; flex-direction: column; padding: .5rem .6rem .55rem; text-decoration: none; border-bottom: 2px solid transparent; line-height: 1.2; }
.prod-bar a b { color: #fff; font-weight: 600; font-size: .84rem; white-space: nowrap; }
.prod-bar a small { color: #9FB3C4; font-size: .7rem; white-space: nowrap; margin-top: .1rem; }
.prod-bar a:hover b { color: var(--accent); }
.prod-bar a:hover, .prod-bar a[aria-current="page"] { border-bottom-color: var(--accent); }
.prod-bar a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
@media (min-width: 75rem) { .prod-bar ul { -webkit-mask-image: none; mask-image: none; flex-wrap: wrap; } }
@media (max-width: 40rem) { .pb-label { display: none; } .prod-bar { margin-top: .75rem; } .prod-bar a { padding: .5rem .55rem; } }
.dd-panel.dd-products { min-width: 48rem; grid-template-columns: repeat(3, minmax(13rem, 1fr)); }
.dd-panel.dd-two { min-width: 28rem; grid-template-columns: repeat(2, minmax(11rem, 1fr)); }
.dd-products .dd-sub { white-space: normal; }
.dd-all { grid-column: 1 / -1; margin: .5rem 0 0; padding-top: .5rem; border-top: 1px solid var(--rule); }
.dd-all a { font-weight: 700; }
@media (max-width: 52rem) { .dd-panel.dd-products, .dd-panel.dd-two { grid-template-columns: 1fr; min-width: 0; } }
