/* The Investigator Board marketing page (/board). Loaded after site.css, whose tokens and .cf-* parts it
   reuses. Values from the approved Board design; classes only, because the CSP forbids inline styles.
   Links are written as `main.bd a.x` so they beat site.css's `main a:not(.btn):not(.cf-btn)` colour. */

/* the header stays in view on this page and lets the page show through */
.cf-header { position: sticky; top: 0; z-index: 5; background: rgba(30, 33, 36, 0.86); backdrop-filter: blur(10px); }

/* shared bits */
.bd .bd-mono { font-family: var(--cf-mono); font-size: 13px; color: var(--cf-text-3); }
.bd-eyebrow { font-family: var(--cf-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cf-text-2); }
.bd-eyebrow-blue { color: var(--cf-focus); }
.bd-tag { font-family: var(--cf-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--cf-focus); }
.bd-tag-grey { color: var(--cf-text-2); letter-spacing: 0.08em; }
.bd-src { font-family: var(--cf-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--cf-text-2); }
main.bd a.bd-quiet, main.bd a.bd-link { color: var(--cf-soft); font-size: 15px; display: inline-flex; align-items: center; min-height: 44px; }
main.bd a.bd-quiet:hover, main.bd a.bd-link:hover { color: #FFFFFF; }
main.bd a.bd-link { color: var(--cf-text); margin-top: auto; align-self: flex-start; }
.bd :focus-visible { outline: 2px solid var(--cf-focus); outline-offset: 3px; }
.bd-note { font-size: 14px; color: var(--cf-text-3); }
.bd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1px; background: var(--cf-line); border: 1px solid var(--cf-line); margin: 0; padding: 0; list-style: none; }
.bd-grid > * { background: var(--cf-ground-2); display: flex; flex-direction: column; }

/* hero: the strings of the example case are red and solid, the home globe's are blue and dashed */
.bd-hero .gl-arcs { stroke: #D9645F; stroke-width: 1.6; stroke-opacity: 0.9; stroke-dasharray: none; }
.bd-hero .gl-rings { stroke: #D9645F; stroke-opacity: 0.8; }
.bd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.bd-hero-case { margin: -32px 0 0; } /* sits under the buttons, closer than the hero's 40px gap */
main.bd .bd-hero-case a { color: var(--cf-text); text-decoration: underline; text-underline-offset: 4px; }

/* sources strip */
.bd-sources { border-bottom: 1px solid var(--cf-line); background: var(--cf-ground-2); }
.bd-sources-in {
  max-width: 1360px; margin: 0 auto; padding: 18px 32px; display: flex; flex-wrap: wrap; gap: 10px 28px; box-sizing: border-box;
  list-style: none; font-family: var(--cf-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--cf-text-2);
}
.bd-sources-lead { color: var(--cf-text-3); }

/* the rotating word: it sits on its own line, so a longer word never moves the text around it */
.bd-manifesto { max-width: 1180px; margin: 0 auto; padding: 150px 32px 120px; text-align: center; }
.bd-manifesto p {
  font-family: var(--cf-display); font-weight: 300; font-size: clamp(34px, 4.6vw, 68px); line-height: 1.12;
  letter-spacing: -0.03em; color: var(--cf-text-3); text-wrap: balance;
}
.bd-word-line { display: block; margin: 6px 0 10px; min-height: 1.12em; }
.bd-word { color: var(--cf-text-hi); border-bottom: 2px solid #D9645F; }

/* the board mock */
.bd-mock-wrap { max-width: 1360px; margin: 0 auto; padding: 0 32px 120px; }
.bd-mock { background: var(--cf-ground-2); border: 1px solid var(--cf-line-mid); display: flex; flex-direction: column; }
.bd-mock-bar {
  border-bottom: 1px solid var(--cf-line); padding: 12px 18px; display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 8px 16px; font-family: var(--cf-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--cf-text-3);
}
.bd-mock-cols { display: flex; flex-wrap: wrap; }
.bd-chat { flex: 1 1 420px; min-width: 0; border-right: 1px solid var(--cf-line); padding: 22px; display: flex; flex-direction: column; gap: 16px; box-sizing: border-box; }
.bd-ask { align-self: flex-end; max-width: 88%; background: var(--cf-bubble); color: var(--cf-text); padding: 12px 16px; font-size: 15px; }
.bd-said { font-size: 15px; color: var(--cf-soft); }
.bd-finding { border: 1px solid var(--cf-line); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.bd-finding-open { border-color: #5A6E91; background: rgba(157, 184, 232, 0.06); }
.bd-finding-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.bd-finding-top > span:first-child { color: var(--cf-text-hi); font-size: 15px; }
.bd-finding-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.bd-chip { font-size: 13px; padding: 5px 12px; }
.bd-chip-blue { color: var(--cf-ground); background: #9DB8E8; }
.bd-chip-solid { color: var(--cf-ground); background: var(--cf-btn-bg); font-weight: 500; }
.bd-chip-line { color: var(--cf-soft); border: 1px solid var(--cf-line-strong); padding: 4px 12px; }
.bd-view { flex: 1 1 460px; min-width: 0; background: var(--cf-ground); display: flex; flex-direction: column; }
.bd-tabs { display: flex; border-bottom: 1px solid var(--cf-line); }
.bd-tab {
  font: inherit; font-size: 14px; cursor: pointer; background: transparent; border: 0; border-bottom: 1px solid transparent;
  color: var(--cf-text-3); padding: 12px 18px; min-height: 44px;
}
.bd-tab[aria-selected="true"] { color: var(--cf-text-hi); border-bottom-color: var(--cf-focus); }
.bd-tab:hover { color: #FFFFFF; }
.bd-art { width: 100%; height: auto; display: block; }
.bd-svgtext, .bd-uc-art svg { font-family: var(--cf-mono); }
.bd-panel-pad { padding: 22px; }
.bd-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.bd-list li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-top: 1px solid var(--cf-line); font-size: 14px; color: var(--cf-text-2); }
.bd-list li:first-child { border-top: 0; }
.bd-list strong { font-weight: 500; font-size: 16px; color: var(--cf-text-hi); }
.bd-list-act { display: inline-block; margin-top: 14px; }
/* tabs and panels need script: without it every panel shows and the tab buttons stay away */
.bd-tabs, .bd-cases { display: none; }
.js .bd-tabs { display: flex; }
.js .bd-cases { display: flex; }
.js .bd-panel:not(.is-on), .js .bd-uc:not(.is-on) { display: none; }

/* a band with a looping video: the dark overlay keeps the text at AA; the scan lines stand in until the video loads */
.bd-band { min-height: 600px; align-items: flex-end; }
.bd-band::after { background: linear-gradient(to top, rgba(14, 16, 18, 0.92), rgba(14, 16, 18, 0.62)); }
.bd-band-in {
  position: relative; max-width: 1360px; width: 100%; box-sizing: border-box; margin: 0 auto; padding: 56px 32px;
  display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between;
}
.bd-band-head { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.bd-h2-big {
  margin: 0; flex: 1 1 560px; font-family: var(--cf-display); font-weight: 300; font-size: clamp(40px, 5vw, 76px);
  line-height: 1.02; letter-spacing: -0.03em; color: var(--cf-text-hi); text-wrap: balance;
}
.bd-band-head .bd-h2-big { flex: none; }
.bd-band-in > p { flex: 1 1 360px; max-width: 30em; font-size: 18px; color: var(--cf-soft); }
.bd-band-port { min-height: 560px; margin-bottom: 120px; }
/* the desk clip is about its red strings: a lighter overlay than the other bands, kept strongest under the text.
   The footage itself is graded dark (static/media/CREDITS.md), so the text still passes AA; see test_home_board. */
.bd-band-desk::after { background: linear-gradient(to top, rgba(14, 16, 18, 0.8), rgba(14, 16, 18, 0.5) 38%, rgba(14, 16, 18, 0.12)); }
.bd-band .cf-vband-media img, .bd-band .cf-vband-media video { position: absolute; inset: 0; } /* the video fades in over the poster */
.bd [id] { scroll-margin-top: 88px; } /* the sticky header */
.cf-vband-pause {
  position: absolute; top: 20px; right: 24px; z-index: 1; min-height: 44px; padding: 10px 14px; cursor: pointer;
  background: rgba(14, 16, 18, 0.7); color: var(--cf-text); border: 1px solid var(--cf-line-strong);
  font-family: var(--cf-mono); font-size: 12px; letter-spacing: 0.04em;
}
.cf-vband-pause:hover { color: #FFFFFF; border-color: var(--cf-text-2); }

/* 02 how it works */
.bd-steps { grid-template-columns: 1fr; }
@media (min-width: 900px) { .bd-steps { grid-template-columns: repeat(3, 1fr); } }
/* the framed slot for the board loop; the scan lines of .cf-vband stand in until the video exists */
.bd-loop { aspect-ratio: 16 / 9; margin-top: 32px; border: 1px solid var(--cf-line-mid); }
.bd-loop .cf-vband-media img, .bd-loop .cf-vband-media video { position: absolute; inset: 0; }
.bd-steps li { padding: 32px 28px 40px; gap: 14px; }
.bd-steps strong { font-family: var(--cf-display); font-weight: 400; font-size: 26px; letter-spacing: -0.02em; color: var(--cf-text-hi); }
.bd-steps li > span:last-child { color: var(--cf-text-2); font-size: 16px; }

/* 03 the capability index */
.bd-split-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; }
.bd-split-head > p { max-width: 26em; color: var(--cf-text-2); font-size: 15px; }
.bd-caps { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--cf-line); }
.bd-cap { border-top: 1px solid var(--cf-line); padding: 18px 0 22px; display: flex; flex-direction: column; gap: 6px; }
.bd-cap > div { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.bd-cap-word { font-family: var(--cf-display); font-weight: 300; font-size: clamp(48px, 7vw, 104px); line-height: 1; letter-spacing: -0.04em; color: var(--cf-soft); }
.bd-cap:hover .bd-cap-word { color: #FFFFFF; }
.bd-cap > span { font-size: 18px; color: var(--cf-text-2); }

/* 04 example workflows */
.bd-cases { flex-wrap: wrap; gap: 8px; }
.bd-case { font: inherit; font-size: 15px; cursor: pointer; background: transparent; color: var(--cf-soft); border: 1px solid var(--cf-line-mid); padding: 10px 16px; min-height: 44px; }
.bd-case[aria-selected="true"] { background: var(--cf-btn-bg); color: var(--cf-btn-fg); border-color: var(--cf-btn-bg); }
.bd-uc-frame { position: relative; overflow: hidden; background: var(--cf-ground); border: 1px solid var(--cf-line-mid); }
.bd-uc { display: flex; flex-direction: column; }
.bd-uc + .bd-uc { border-top: 1px solid var(--cf-line-mid); }
.bd-uc-top { padding: 44px 48px 0; display: flex; flex-wrap: wrap; gap: 32px 64px; }
.bd-uc-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.bd-uc-text h3 { font-family: var(--cf-display); font-weight: 300; font-size: clamp(28px, 3vw, 42px); line-height: 1.1; letter-spacing: -0.02em; color: var(--cf-text-hi); }
.bd-uc-text p { font-size: 17px; color: var(--cf-soft); max-width: 30em; }
.bd-uc-steps { flex: 1 1 360px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.bd-uc-steps li { border-top: 1px solid var(--cf-line); padding: 14px 0; display: flex; gap: 18px; }
.bd-uc-steps li:last-child { border-bottom: 1px solid var(--cf-line); }
.bd-uc-steps .bd-mono { font-size: 12px; min-width: 22px; }
.bd-uc-steps li > span:last-child { color: var(--cf-text); font-size: 16px; }
.bd-uc-src {
  margin-top: 36px; border-top: 1px solid var(--cf-line); padding: 14px 48px; display: flex; flex-wrap: wrap; gap: 8px 32px;
  font-family: var(--cf-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cf-text-2);
}
.bd-uc-src > span:last-child { color: var(--cf-text); }
.bd-uc-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0 24px; padding: 24px 40px 0; }
.bd-uc-word::before { content: attr(data-word); }
.bd-uc-word {
  font-family: var(--cf-display); font-weight: 300; font-size: clamp(72px, 13vw, 200px); line-height: 0.8;
  letter-spacing: -0.05em; color: #262A2E; white-space: nowrap; margin-bottom: -0.12em; max-width: 100%;
}
.bd-uc-art { width: 260px; max-width: 100%; padding-bottom: 28px; }
.bd-uc-art svg { width: 100%; height: auto; display: block; }

/* 05 who it's for */
.bd-who { display: flex; flex-wrap: wrap; gap: 64px; }
.bd-who-list { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.bd-rows { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.bd-rows li { border-top: 1px solid var(--cf-line); padding: 22px 0; display: flex; flex-direction: column; gap: 6px; }
.bd-rows li:last-child { border-bottom: 1px solid var(--cf-line); }
.bd-rows strong { font-weight: 500; font-size: 19px; color: var(--cf-text-hi); }
.bd-rows span { color: var(--cf-text-2); font-size: 16px; }
.bd-wont { flex: 1 1 400px; min-width: 0; align-self: flex-start; border: 1px solid var(--cf-line-mid); padding: 32px; display: flex; flex-direction: column; gap: 18px; box-sizing: border-box; }
.bd-wont p { font-family: var(--cf-display); font-weight: 300; font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; color: var(--cf-text-hi); }
.bd-lines { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; color: var(--cf-soft); font-size: 16px; }
.bd-lines li { border-top: 1px solid var(--cf-line); padding: 10px 0; }
.bd-lines li:last-child { border-bottom: 1px solid var(--cf-line); }

/* 06 built to be checked, and checks or cases */
.bd-narrow-h2 { max-width: 16em; }
.bd-trust { grid-template-columns: 1fr; }
@media (min-width: 600px) { .bd-trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bd-trust { grid-template-columns: repeat(4, 1fr); } }
.bd-trust > div { padding: 28px; gap: 10px; }
.bd-trust > div > span:last-child { color: var(--cf-soft); font-size: 16px; }
.bd-compare-in { max-width: 1360px; margin: 0 auto; padding: 120px 32px 96px; box-sizing: border-box; }
.bd-two { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.bd-way { padding: 32px; gap: 14px; }
.bd-way strong { font-family: var(--cf-display); font-weight: 400; font-size: 28px; letter-spacing: -0.02em; color: var(--cf-text-hi); }
.bd-way > span:nth-of-type(2) { color: var(--cf-text-2); font-size: 16px; }
.bd-way-on { background: var(--cf-ground); outline: 1px solid var(--cf-soft); outline-offset: -1px; }

.bd-compare-foot { font-size: 16px; color: var(--cf-soft); }
main.bd .bd-compare-foot a { color: var(--cf-text-hi); }

/* 07 pricing */
.bd-price-row { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.bd-plan { flex: 0 1 460px; min-width: 0; box-sizing: border-box; }
.bd-price-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.bd-packs { display: flex; flex-direction: column; gap: 24px; }
.bd-packs .cf-head p { color: var(--cf-text-2); }
.bd-packs .cf-plan-main { border-color: var(--cf-line-mid); background: transparent; } /* the plan above stays the main one */
main.bd .bd-packs a.cf-btn { background: transparent; color: var(--cf-text); border-color: var(--cf-line-strong); font-weight: 400; }
main.bd .bd-packs a.cf-btn:hover { background: var(--cf-raised); color: #FFFFFF; border-color: var(--cf-text-2); }
.bd-price-side p { font-size: 18px; color: var(--cf-soft); }

/* 08 questions */
.bd-faq { max-width: 960px; margin: 0 auto; padding: 120px 32px; display: flex; flex-direction: column; gap: 40px; box-sizing: border-box; }
.bd-faq-head { display: flex; flex-direction: column; gap: 16px; }
.bd-faq-list { border-bottom: 1px solid var(--cf-line); }
.bd-faq-list details { border-top: 1px solid var(--cf-line); }
.bd-faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 19px; color: var(--cf-text-hi); }
.bd-faq-list summary::-webkit-details-marker { display: none; }
.bd-plus { display: inline-block; color: var(--cf-text-3); transition: transform 0.2s; }
.bd-faq-list details[open] .bd-plus { transform: rotate(45deg); }
.bd-faq-list p { margin: 0 0 22px; color: var(--cf-text-2); font-size: 16px; }
.bd-faq-list p a { color: var(--cf-text-hi); }

/* the two ways in */
.bd-split { max-width: 1360px; margin: 0 auto; padding: 0 32px 120px; }
.bd-split-in { border-top: 1px solid var(--cf-line); padding-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
main.bd a.bd-split-card, .bd-split-card { text-decoration: none; min-height: 280px; padding: 28px 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; box-sizing: border-box; }
main.bd a.bd-split-card.bd-split-main, main.bd div.bd-split-main { background: var(--cf-btn-bg); color: var(--cf-btn-fg); }
main.bd a.bd-split-card.bd-split-dark { background: #0E1012; color: var(--cf-text-hi); border: 1px solid var(--cf-line-mid); }
.bd-split-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.bd-split-title { font-family: var(--cf-display); font-weight: 400; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.035em; }
.bd-split-arrow { flex: none; transition: transform 0.2s; }
.bd-split-card:hover .bd-split-arrow { transform: translateX(6px); }
.bd-split-sub { font-size: 16px; }
.bd-split-main .bd-split-sub { color: var(--cf-line); }
.bd-split-dark .bd-split-sub { color: var(--cf-text-2); }
main.bd div.bd-split-main[aria-disabled="true"] { background: transparent; color: var(--cf-text-2); border: 1px dashed var(--cf-line-strong); }
main.bd div.bd-split-main[aria-disabled="true"] .bd-split-sub { color: var(--cf-text-2); }

@media (prefers-reduced-motion: reduce) {
  .bd-plus, .bd-split-arrow { transition: none; }
}
@media (max-width: 599px) {
  .bd-manifesto { padding: 88px 20px 72px; }
  .bd-mock-wrap, .bd-split { padding-left: 20px; padding-right: 20px; padding-bottom: 72px; }
  .bd-sources-in { padding-left: 20px; padding-right: 20px; }
  .bd-chat { padding: 16px; border-right: 0; }
  .bd-band, .bd-band-port { min-height: 460px; }
  .bd-band-in { padding-left: 20px; padding-right: 20px; }
  .bd-band-port { margin-bottom: 72px; }
  /* at phone width the band shows a 44% slice of the clip: the map where the strings meet, not his back */
  .bd-band-desk .cf-vband-media img, .bd-band-desk .cf-vband-media video { object-position: 45% center; }
  .bd-compare-in { padding: 72px 20px 56px; }
  .bd-faq { padding: 72px 20px; }
  .bd-uc-top { padding: 28px 20px 0; }
  .bd-uc-src { padding: 14px 20px; }
  .bd-uc-foot { padding: 24px 20px 0; }
  .bd-wont, .bd-way, .bd-trust > div { padding: 24px; }
  .cf-vband-pause { top: 12px; right: 12px; }
}
