/* Deal Tech Stack: design tokens and layout. One stylesheet, no framework. */
:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --ink: #10151c;
  --ink-2: #2b3440;
  --muted: #5b6574;
  --line: #e1e5eb;
  --line-strong: #c9d0da;
  --link: #1d4ed8;
  --focus: #2563eb;
  --ok: #1f7a3a; --ok-bg: #e6f4ea;
  --warn: #9a5b00; --warn-bg: #fdf1dc;
  --info: #1d4ed8; --info-bg: #e5edfd;
  --idle: #4b5563; --idle-bg: #eceff3;
  --bad: #b42318; --bad-bg: #fde8e7;
  --s-source: #3b5bdb;
  --s-engage: #7048e8;
  --s-diligence: #0b7285;
  --s-manage: #d9480f;
  --s-close: #2b8a3e;
  --s-own: #c2255c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 21, 28, .05), 0 8px 24px rgba(16, 21, 28, .06);
  --f-head: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c1015; --surface: #141a22; --surface-2: #10151c; --ink: #e8edf3; --ink-2: #c9d2dc;
    --muted: #9aa6b3; --line: #232c37; --line-strong: #33404e; --link: #8ab4ff; --focus: #8ab4ff;
    --ok: #7fd49a; --ok-bg: #12301d; --warn: #f2c27a; --warn-bg: #352610; --info: #9dbcff; --info-bg: #152647;
    --idle: #b3bdc8; --idle-bg: #1d242d; --bad: #ff9a8f; --bad-bg: #3a1714;
    --s-source: #7c94f4; --s-engage: #a48bf7; --s-diligence: #4fc0d0; --s-manage: #ff9b5e; --s-close: #6fcf86; --s-own: #f06595;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c1015; --surface: #141a22; --surface-2: #10151c; --ink: #e8edf3; --ink-2: #c9d2dc;
  --muted: #9aa6b3; --line: #232c37; --line-strong: #33404e; --link: #8ab4ff; --focus: #8ab4ff;
  --ok: #7fd49a; --ok-bg: #12301d; --warn: #f2c27a; --warn-bg: #352610; --info: #9dbcff; --info-bg: #152647;
  --idle: #b3bdc8; --idle-bg: #1d242d; --bad: #ff9a8f; --bad-bg: #3a1714;
  --s-source: #7c94f4; --s-engage: #a48bf7; --s-diligence: #4fc0d0; --s-manage: #ff9b5e; --s-close: #6fcf86; --s-own: #f06595;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 var(--f-body); overflow-x: hidden;
}
a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
.num, .mono { font-family: var(--f-mono); font-feature-settings: "tnum" 1; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; }
.brand svg { width: 28px; height: 28px; flex: none; }
.brand span { white-space: nowrap; }
.nav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .92rem; padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 560px) {
  .nav { gap: 0; flex-wrap: nowrap; }
  .nav a { padding: 6px 7px; font-size: .84rem; }
  .nav a[href="terms.html"] { display: none; }
}

/* Hero */
.hero { padding: 48px 0 28px; }
.hero .kicker { display: inline-flex; align-items: center; gap: 8px; font: 500 .8rem/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.hero .kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--stage, var(--link)); display: inline-block; }
.hero h1 { max-width: 22ch; }
.lede { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--ink-2); max-width: 68ch; margin-top: 16px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }

/* Stat tiles */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0 8px; }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--c, var(--link)); }
.stat b { display: block; font: 600 1.9rem/1.1 var(--f-mono); color: var(--ink); }
.stat span { display: block; color: var(--muted); font-size: .88rem; margin-top: 6px; }

/* Stage map */
.section { padding: 36px 0; }
.section > .wrap > h2 { margin-bottom: 8px; }
.section-intro { color: var(--muted); max-width: 70ch; }
.map { position: relative; margin-top: 28px; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .map { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; } }
.rail { display: none; }
@media (min-width: 1000px) {
  .rail { display: block; position: absolute; left: 23px; right: calc(100% / 6 - 23px); top: 22px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--s-source), var(--s-engage), var(--s-diligence), var(--s-manage), var(--s-close), var(--s-own));
    transform-origin: left center; transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); opacity: .5; }
  .map.in .rail { transform: scaleX(1); }
}
.stage { position: relative; display: flex; gap: 12px; align-items: flex-start; text-decoration: none; color: inherit; border-radius: 12px; }
.stage:hover .node { transform: scale(1.06); }
.stage:hover .h { color: var(--c); }
@media (min-width: 1000px) { .stage { flex-direction: column; } }
@media (max-width: 999px) {
  .stage::before { content: ""; position: absolute; left: 21.5px; top: 48px; bottom: -14px; width: 3px; background: var(--c); opacity: .3; border-radius: 3px; }
  .stage:last-child::before { display: none; }
}
.node { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--c); box-shadow: 0 0 0 3px var(--c), var(--shadow); position: relative; z-index: 1; transition: transform .2s ease; }
.node svg { width: 22px; height: 22px; }
.stage-head { display: flex; flex-direction: column; min-height: 46px; justify-content: center; }
.stage-head .step { font: 500 .72rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.stage-head .h { font: 600 1.05rem/1.25 var(--f-head); margin-top: 4px; transition: color .2s ease; }
.stage-head .p { font-size: .86rem; color: var(--muted); margin-top: 2px; }
.cats { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 30px; }
@media (min-width: 680px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cat { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--c); border-radius: 14px; padding: 16px 16px 14px; scroll-margin-top: 80px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, opacity .55s ease; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); border-top-color: var(--c); }
.cat:target { box-shadow: 0 0 0 2px var(--c), var(--shadow); }
.cat-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cat .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); flex: none; }
.cat .ic svg { width: 19px; height: 19px; }
.cat .step { font: 500 .72rem/1.2 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--c); }
.cat h3 { font-size: 1.08rem; }
.cat .meta { margin: 6px 0 12px; font-size: .85rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { font-size: .76rem; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.cat .go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; font-size: .86rem; color: var(--c); font-weight: 600; }
.cat .go svg { width: 15px; height: 15px; transition: transform .18s ease; }
.cat:hover .go svg { transform: translateX(3px); }

/* Notes */
.note { border-radius: 12px; padding: 12px 14px; font-size: .9rem; margin: 18px 0; border: 1px solid var(--line); background: var(--surface); display: flex; gap: 10px; align-items: flex-start; }
.note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.note.risk { background: var(--warn-bg); border-color: color-mix(in srgb, var(--warn) 30%, transparent); color: var(--ink); }
.note.risk svg { color: var(--warn); }
.note.disc { background: var(--info-bg); border-color: color-mix(in srgb, var(--info) 30%, transparent); }
.note.disc svg { color: var(--info); }
.note p { margin: 0; }

/* Table */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-top: 18px; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 900px; font-size: .9rem; }
th, td { text-align: left; vertical-align: top; padding: 11px 12px; border-bottom: 1px solid var(--line); }
th { font: 600 .74rem/1.3 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); position: sticky; top: 0; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: color-mix(in srgb, var(--c, var(--link)) 5%, transparent); }
td.v a { font-weight: 600; color: var(--ink); text-decoration: none; }
td.v a:hover { text-decoration: underline; }
td .sub { display: block; color: var(--muted); font-size: .8rem; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { color: var(--ok); background: var(--ok-bg); }
.pill.warn { color: var(--warn); background: var(--warn-bg); }
.pill.info { color: var(--info); background: var(--info-bg); }
.pill.idle { color: var(--idle); background: var(--idle-bg); }
.pill.bad { color: var(--bad); background: var(--bad-bg); }
.nowrap { white-space: nowrap; }
.price { font-family: var(--f-mono); font-weight: 600; white-space: nowrap; }

/* Vendor profiles */
.profiles { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 18px; }
@media (min-width: 900px) { .profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.prof { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; scroll-margin-top: 80px; position: relative; overflow: hidden; }
.prof::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--c); opacity: .85; }
.prof:target { box-shadow: 0 0 0 2px var(--c), var(--shadow); }
.prof header { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.mark { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; font: 700 1.05rem/1 var(--f-head); color: #fff; background: var(--c); }
.prof h3 a { color: var(--ink); text-decoration: none; }
.prof header .sub { color: var(--muted); font-size: .82rem; }
.facts { display: grid; gap: 10px; margin: 0; }
.fact { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.fact svg { width: 16px; height: 16px; color: var(--c); margin-top: 3px; }
.fact dt { font: 600 .74rem/1.3 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 2px 0 0; font-size: .9rem; color: var(--ink-2); }
q.vq { quotes: "\201C" "\201D"; color: var(--ink); }
.src { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.src a { color: var(--muted); }
.tiers { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 3px; }
.tiers li { font-size: .86rem; }
.tiers .price { font-weight: 600; }

/* Prose pages */
.prose { max-width: 74ch; }
.prose h2 { margin: 34px 0 10px; scroll-margin-top: 80px; }
.prose h3 { margin: 22px 0 8px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 4px 0; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--f-head); }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }
.dropped { font-size: .9rem; color: var(--ink-2); }
.dropped li { margin: 6px 0; }

/* Footer */
.foot { margin-top: 48px; border-top: 1px solid var(--line); background: var(--surface); padding: 32px 0 40px; font-size: .86rem; color: var(--muted); }
.foot .grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .foot .grid { grid-template-columns: 2fr 1fr 1fr; } }
.foot .fh { margin: 0 0 8px; font: 600 .78rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot a { color: var(--ink-2); }
.foot .disc { color: var(--ink-2); }

/* Motion */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .rail { transition: none; transform: scaleX(1); }
  .cat, .node, .cat .go svg { transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }
@media print { .top, .foot .grid > div:not(:first-child) { display: none; } .reveal { opacity: 1; transform: none; } }

/* ===== Mondrian layer (2026-11-08): primary blocks, black bars, square corners ===== */
:root {
  --m-red: #d7261e; --m-blue: #1b3f99; --m-yellow: #f3c316; --m-black: #111111; --m-paper: #f7f4ec;
  --bar: #111111; --bar-w: 4px;
  --bg: #f7f4ec; --surface: #ffffff; --surface-2: #fbf9f3; --line: #d9d4c7; --line-strong: #111111;
  --link: #1b3f99; --radius: 0px;
  --s-source: #1b3f99; --s-engage: #d7261e; --s-diligence: #c99a00; --s-manage: #111111; --s-close: #d7261e; --s-own: #1b3f99;
  --shadow: 6px 6px 0 #111111;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --m-paper: #1a1a1a; --bar: #f2efe6; --bg: #121212; --surface: #1c1c1c; --surface-2: #181818; --line: #333; --line-strong: #f2efe6;
    --link: #8fb0ff; --s-source: #5b82e6; --s-engage: #ef5048; --s-diligence: #f3c316; --s-manage: #f2efe6; --s-close: #ef5048; --s-own: #5b82e6;
    --shadow: 6px 6px 0 #f2efe6;
  }
}
:root[data-theme="dark"] {
  --m-paper: #1a1a1a; --bar: #f2efe6; --bg: #121212; --surface: #1c1c1c; --surface-2: #181818; --line: #333; --line-strong: #f2efe6;
  --link: #8fb0ff; --s-source: #5b82e6; --s-engage: #ef5048; --s-diligence: #f3c316; --s-manage: #f2efe6; --s-close: #ef5048; --s-own: #5b82e6;
  --shadow: 6px 6px 0 #f2efe6;
}

.top { background: var(--bg); backdrop-filter: none; border-bottom: 6px solid var(--bar); }
.nav a { border-radius: 0; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--m-yellow); color: #111; box-shadow: inset 0 0 0 2px var(--bar); }
h1 { letter-spacing: -0.02em; }

/* Hero with a composition column */
.hero { border-bottom: var(--bar-w) solid var(--bar); padding-bottom: 36px; }
.hero-grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); } }
.comp { display: grid; background: var(--bar); gap: var(--bar-w); border: var(--bar-w) solid var(--bar);
  grid-template-columns: 2.2fr 1fr 0.7fr; grid-template-rows: 1.6fr 0.6fr 1fr 0.5fr; min-height: 300px;
  grid-template-areas: "a a b" "c d b" "e f f" "g h i"; }
.comp span { display: block; background: var(--m-paper); transform-origin: center; animation: block-in .7s cubic-bezier(.2, .7, .2, 1) both; }
.comp .a { grid-area: a; } .comp .b { grid-area: b; } .comp .c { grid-area: c; } .comp .d { grid-area: d; } .comp .e { grid-area: e; }
.comp .f { grid-area: f; } .comp .g { grid-area: g; } .comp .h { grid-area: h; } .comp .i { grid-area: i; }
.comp .c-red { background: var(--m-red); animation-delay: .05s; }
.comp .c-yellow { background: var(--m-yellow); animation-delay: .2s; }
.comp .c-blue { background: var(--m-blue); animation-delay: .35s; }
.comp .c-black { background: var(--bar); animation-delay: .5s; }
@keyframes block-in { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 959px) { .comp { min-height: 90px; grid-template-rows: 1fr 1fr; grid-template-columns: 2fr .8fr 1fr .6fr 1.4fr;
  grid-template-areas: "a a d b f" "c e e h f"; } .comp .g, .comp .i { display: none; } }
.hero .kicker i { border-radius: 0; background: var(--m-red); }

/* Stat tiles joined by black bars */
.stats { gap: 0; border: var(--bar-w) solid var(--bar); background: var(--bar); gap: var(--bar-w); }
.stat { border: 0; border-radius: 0; background: var(--surface); }
.stat::before { display: none; }
.stat:nth-child(1) { background: var(--m-blue); } .stat:nth-child(1) b, .stat:nth-child(1) span { color: #fff; }
.stat:nth-child(3) { background: var(--m-yellow); } .stat:nth-child(3) b, .stat:nth-child(3) span { color: #111; }
.stat:nth-child(4) { background: var(--m-red); } .stat:nth-child(4) b, .stat:nth-child(4) span { color: #fff; }

/* Timeline: thick black rail, square nodes */
@media (min-width: 1000px) { .rail { background: var(--bar); opacity: 1; height: 6px; top: 20px; } }
@media (max-width: 999px) { .stage::before { background: var(--bar); opacity: 1; width: 4px; left: 21px; } }
.node { border-radius: 0; background: var(--c); color: #fff; box-shadow: 0 0 0 var(--bar-w) var(--bar); }
.stage[style*="--s-diligence"] .node { color: #111; }
.stage-head .step { color: var(--ink); }
.stage-head .step::before { content: ""; display: inline-block; width: 9px; height: 9px; background: var(--c); margin-right: 6px; vertical-align: 0; box-shadow: 0 0 0 1.5px var(--bar); }

/* Category cards */
.cat { border: var(--bar-w) solid var(--bar); border-top: 14px solid var(--c); border-radius: 0; }
.cat:hover { border-color: var(--bar); border-top-color: var(--c); box-shadow: var(--shadow); transform: translate(-3px, -3px); }
.cat .ic { border-radius: 0; background: var(--c); color: #fff; }
.cat[style*="--s-diligence"] .ic { color: #111; }
.cat .step { color: var(--ink); }
.chip { border-radius: 0; border: 1.5px solid var(--bar); background: var(--surface); }
.cat .go { color: var(--ink); text-decoration: underline; text-decoration-color: var(--c); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* Notes */
.note { border-radius: 0; border: var(--bar-w) solid var(--bar); }
.note.risk { background: var(--m-yellow); color: #111; border-color: var(--bar); }
.note.risk svg { color: #111; }
.note.disc { background: var(--surface); border-color: var(--bar); border-left: 18px solid var(--m-blue); }

/* Tables */
.tbl-wrap { border: var(--bar-w) solid var(--bar); border-radius: 0; }
th { background: var(--bar); color: var(--bg); }
.pill { border-radius: 0; border: 1.5px solid currentColor; }

/* Profiles */
.prof { border: var(--bar-w) solid var(--bar); border-radius: 0; }
.prof::after { height: 10px; background: var(--c); }
.prof:target { box-shadow: var(--shadow); }
.mark { border-radius: 0; box-shadow: 0 0 0 3px var(--bar); }
.fact dt { color: var(--ink-2); }
.faq details { border-radius: 0; border: 3px solid var(--bar); }

/* Footer band */
.band { display: grid; grid-template-columns: 3fr 1fr 1.2fr 4fr 2fr; height: 34px; gap: var(--bar-w); background: var(--bar);
  border-top: var(--bar-w) solid var(--bar); border-bottom: var(--bar-w) solid var(--bar); margin-top: 56px; }
.band span { background: var(--m-paper); }
.band .r { background: var(--m-red); } .band .y { background: var(--m-yellow); } .band .b { background: var(--m-blue); }
.foot { margin-top: 0; border-top: 0; background: var(--bg); }
.foot .fh { color: var(--ink); }
.disc.placeholder, p.disc { }
@media (prefers-reduced-motion: reduce) { .comp span { animation: none; } }

/* Data room needs */
.needs { display: grid; gap: 0; grid-template-columns: 1fr; border: var(--bar-w) solid var(--bar); background: var(--bar); gap: var(--bar-w); margin-top: 20px; }
@media (min-width: 680px) { .needs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .needs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.need { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 16px; background: var(--surface); color: inherit; text-decoration: none; transition: background .15s ease; }
.need:nth-child(5n+1) .need-n { background: var(--m-red); color: #fff; }
.need:nth-child(5n+2) .need-n { background: var(--m-blue); color: #fff; }
.need:nth-child(5n+3) .need-n { background: var(--m-yellow); color: #111; }
.need:nth-child(5n+4) .need-n { background: var(--bar); color: var(--bg); }
.need:nth-child(5n) .need-n { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 3px var(--bar); }
.need:hover { background: var(--surface-2); }
.need:hover .need-t { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.need-n { grid-row: span 2; width: 64px; height: 64px; display: grid; place-items: center; font: 600 1.4rem/1 var(--f-mono); }
.need-n small { font-size: .7rem; opacity: .8; margin-left: 1px; }
.need-t { font: 600 1rem/1.3 var(--f-head); align-self: end; }
.need-q { font-size: .84rem; color: var(--muted); }
tr.grp th { background: var(--surface-2); color: var(--ink); text-transform: none; letter-spacing: 0; font: 600 .9rem/1.3 var(--f-body); border-top: 3px solid var(--bar); position: static; }
tr.grp .num { margin-left: 6px; color: var(--muted); }

/* Vendor profile: report link */
.prof .report { margin: 12px 0 0; font-size: .8rem; }
.prof .report a { color: var(--muted); }

/* Submit a request form */
.req { max-width: 760px; display: grid; gap: 18px; border: var(--bar-w) solid var(--bar); background: var(--surface); padding: clamp(16px, 3vw, 28px); }
.req fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.req legend, .req .fld > span { font: 600 .95rem/1.3 var(--f-head); color: var(--ink); margin-bottom: 8px; display: block; padding: 0; }
.req .fld > span em { font: 400 .78rem/1 var(--f-mono); color: var(--muted); font-style: normal; margin-left: 6px; text-transform: uppercase; letter-spacing: .04em; }
.req .opts { display: grid; gap: 6px; }
.req .opt { display: flex; gap: 10px; align-items: center; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.req .opt input { accent-color: var(--m-red); width: 18px; height: 18px; margin: 0; }
.req .row2 { display: grid; gap: 18px; }
@media (min-width: 680px) { .req .row2 { grid-template-columns: 1fr 1fr; } }
.req .fld { display: block; min-width: 0; }
.req input[type=text], .req input[type=email], .req input[type=url], .req select, .req textarea {
  width: 100%; box-sizing: border-box; font: 400 .95rem/1.4 var(--f-body); color: var(--ink); background: var(--bg);
  border: 2px solid var(--bar); border-radius: 0; padding: 10px 12px; }
.req textarea { resize: vertical; min-height: 140px; }
.req input:focus-visible, .req select:focus-visible, .req textarea:focus-visible { outline: 3px solid var(--m-yellow); outline-offset: 0; }
.req [aria-invalid="true"] { border-color: var(--m-red); box-shadow: inset 0 0 0 1px var(--m-red); }
.req .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req .fine { margin: 0; font-size: .82rem; color: var(--muted); }
.req .actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.req button { font: 600 .95rem/1 var(--f-head); background: var(--m-red); color: #fff; border: var(--bar-w) solid var(--bar); border-radius: 0; padding: 12px 20px; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.req button:hover { background: #b81f18; }
.req button:active { transform: translateY(1px); }
.req button[disabled] { opacity: .6; cursor: progress; }
.req .form-status { margin: 0; font-size: .9rem; color: var(--ink-2); }
.req .form-status.err { color: var(--m-red); font-weight: 600; }
.req .form-status.ok { color: var(--ink); font-weight: 600; }
.nav .ns { display: none; }
@media (max-width: 560px) {
  .nav a[href="methodology.html"], .nav a[href="./"] { display: none; }
  .nav .nl { display: none; } .nav .ns { display: inline; }
}

/* File types page */
table.ft th.ftc, table.ft td.ftc { text-align: center; font-size: .8rem; white-space: nowrap; }
table.ft td.ftc .yes { display: inline-block; padding: 2px 6px; background: var(--m-blue); color: #fff; font: 600 .72rem/1.2 var(--f-mono); }
table.ft td.ftq details summary { cursor: pointer; font-size: .82rem; color: var(--link); }
table.ft td.ftq details p { margin: 6px 0 0; font-size: .85rem; max-width: 46ch; }
table.pat { margin: 12px 0 16px; font-size: .85rem; border-collapse: collapse; }
table.pat th, table.pat td { border: 2px solid var(--bar); padding: 6px 10px; text-align: left; }
table.pat code { font-family: var(--f-mono); font-size: .8rem; }
