/* briolabs. site — COMPONENTS.md implemented as plain CSS.
   Flat, sharp, no shadows on resting surfaces. Yellow = actions only. LINE green = LINE actions only.
   Narrow mode = container width < 760px on .page (design uses container units). */

:root {
  --paper: #F2F0EA;
  --white: #FFFFFF;
  --ink: #16181B;
  --ink-2: #3C4046;
  --muted: #5B5F66;
  --rule: #D9D5CB;
  --sand-hover: #E6E3DB;
  --action: #F5C842;
  --action-hover: #E9B92A;
  --line: #06C755;
  --line-hover: #05B34C;
  --dark: #1C1F23;
  --dark-rule: #2E3237;
  --dark-rule-2: #3A3F45;
  --dark-edge: #4A4F57;
  --on-dark: #F2F0EA;
  --on-dark-2: #C9CDD3;
  --on-dark-3: #9AA0A8;
  --amber-border: #8A5A00;
  --amber-text: #6B4400;
  --amber-deep: #3A2500;
  --amber-bg: #FFF8E6;
  --amber-hover: #FBEBC2;
  --road-border: #6B6F76;
  --status-on: #3DBE74;
  --status-off: #E5604D;
  --status-off-text: #F0A196;
  --door-dash: #9A968A;

  --f-head: 'Outfit', 'Noto Sans TC', sans-serif;
  --f-body: 'Noto Sans TC', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4cqi, 40px);
}

/* ---------- base ---------- */
html { -webkit-text-size-adjust: 100%; }
body.bl-site { margin: 0; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
.bl-site *, .bl-site *::before, .bl-site *::after { box-sizing: border-box; }
.page {
  container: page / inline-size;
  background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  min-height: 100vh;
}
.page a { color: var(--ink); }
.page a:hover { color: var(--muted); }
.page img { max-width: 100%; height: auto; }
.page :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.page p { margin: 0; }
.page h1, .page h2, .page h3 { margin: 0; }
.page b, .page strong { font-weight: 700; }
summary::-webkit-details-marker { display: none; }

.bl-wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.bl-section { padding-top: clamp(40px, 6cqi, 72px); padding-bottom: clamp(40px, 6cqi, 72px); display: flex; flex-direction: column; gap: 24px; }
.bl-section--tight { padding-top: clamp(40px, 6cqi, 72px); padding-bottom: clamp(40px, 6cqi, 72px); gap: 20px; }
.bl-section--flush-top { padding-top: 0; }
.bl-section--flush-bottom { padding-bottom: 0; }
.bl-section--rule { border-top: 1px solid var(--rule); }
.bl-section--contact { padding-top: clamp(32px, 6cqi, 72px); padding-bottom: clamp(48px, 7cqi, 96px); }
.bl-band--white { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.bl-band--ink { background: var(--ink); color: var(--on-dark); }
.bl-band--ink a { color: var(--on-dark); }
.bl-head { display: flex; flex-direction: column; gap: 8px; }
.bl-head--narrow { max-width: 640px; }
.bl-stack { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.bl-stack--gap8 { gap: 8px; } .bl-stack--gap10 { gap: 10px; } .bl-stack--gap12 { gap: 12px; }
.bl-stack--gap14 { gap: 14px; } .bl-stack--gap16 { gap: 16px; }
.bl-maxw28 { max-width: 28em; }
.bl-p17 { font-size: 17px; } .bl-p15 { font-size: 15px; }
.bl-grow { flex: 1; }

/* ---------- type ---------- */
.bl-h1 { font-family: var(--f-head); font-weight: 700; font-size: clamp(36px, 6.2cqi, 68px); line-height: 1.18; text-wrap: balance; }
.bl-h1--problem { font-size: clamp(34px, 5.6cqi, 60px); line-height: 1.22; max-width: 14em; }
.bl-h1--industry { font-size: clamp(32px, 5.2cqi, 56px); line-height: 1.22; }
.bl-h1--contact { font-size: clamp(30px, 4.4cqi, 48px); line-height: 1.25; }
.bl-h2 { font-family: var(--f-head); font-weight: 700; font-size: clamp(24px, 3cqi, 34px); line-height: 1.3; text-wrap: balance; }
.bl-h2--sub { font-size: clamp(22px, 2.8cqi, 30px); line-height: 1.35; }
.bl-h2--band { line-height: 1.35; text-wrap: pretty; }
.bl-h2--moment { max-width: 20em; }
.bl-h3 { font-family: var(--f-head); font-weight: 700; font-size: 20px; }
.bl-eyebrow { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.bl-lead { font-size: clamp(17px, 1.8cqi, 20px); line-height: 1.65; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.bl-muted { font-size: 15px; color: var(--muted); }
.bl-small-lead { font-size: 15px; color: var(--ink-2); }
.bl-small { font-size: 14px; }
.bl-ink2 { color: var(--ink-2); }
.bl-on-dark-2 { color: var(--on-dark-2); font-size: 15px; }
.bl-band--ink .bl-head .bl-on-dark-2 { font-size: 16px; }
.bl-mono-label { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.bl-inline-link { margin-left: 4px; }

/* ---------- header ---------- */
.bl-header { position: sticky; top: 0; z-index: 5; background: rgba(242,240,234,0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.bl-header__inner { height: 64px; display: flex; align-items: center; gap: 20px; }
.bl-wordmark { display: flex; align-items: center; border-radius: 4px; flex: none; }
.bl-wordmark img { display: block; height: 26px; width: auto; }
.bl-nav { display: flex; gap: 4px; margin-left: 12px; }
.bl-nav a { padding: 8px 12px; border-radius: 6px; text-decoration: none; font-size: 15px; color: var(--ink); }
.bl-nav a:hover { background: var(--sand-hover); color: var(--ink); }
.bl-nav a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.bl-header__end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.bl-menu-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 6px; background: transparent; cursor: pointer; font-size: 18px; color: var(--ink); font-family: inherit; }
.bl-menu-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* language switcher */
.bl-lang { display: flex; font-family: var(--f-mono); font-size: 12px; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.bl-lang > * { padding: 6px 9px; text-decoration: none; color: var(--muted); }
.bl-lang [aria-current] { background: var(--ink); color: var(--on-dark); }
.bl-lang a:hover { background: var(--sand-hover); color: var(--muted); }
.bl-lang--footer > * { padding: 8px 11px; }

/* ---------- buttons ---------- */
.bl-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 8px; font-family: inherit; font-weight: 700; font-size: 17px; line-height: 1.3; text-decoration: none; border: 0; cursor: pointer; text-align: center; }
.page .bl-btn:hover { color: inherit; }
.bl-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.bl-btn--primary { background: var(--action); color: var(--ink) !important; }
.bl-btn--primary:hover { background: var(--action-hover); }
.bl-btn--line { background: var(--line); color: var(--ink) !important; }
.bl-btn--line:hover { background: var(--line-hover); }
.bl-btn--ringed { outline: 1.5px solid var(--ink); }
.bl-btn--dark { background: var(--ink); color: var(--on-dark) !important; }
.bl-btn--dark:hover { background: var(--dark-rule); }
.bl-btn--outline { background: transparent; border: 1.5px solid var(--ink); color: var(--ink) !important; }
.bl-btn--outline:hover { background: var(--sand-hover); }
.bl-btn--amber { background: transparent; border: 1.5px solid var(--amber-text); color: var(--amber-deep) !important; }
.bl-btn--amber:hover { background: var(--amber-hover); }
.bl-btn--header { min-height: 40px; height: 40px; padding: 0 16px; border-radius: 6px; font-size: 15px; }
.bl-btn--header:focus-visible { outline-offset: 2px; }
.bl-btn--md { min-height: 48px; padding: 0 20px; font-size: 16px; }
.bl-btn--wide { padding: 0 28px; }
.bl-btn--block { display: flex; width: 100%; }
.bl-band--ink .bl-btn:focus-visible, .bl-assess .bl-btn:focus-visible { outline-color: var(--on-dark); }
.bl-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.bl-line-pair { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bl-chip { font-family: var(--f-mono); font-size: 13px; padding: 3px 8px; border-radius: 4px; background: var(--ink); color: var(--on-dark); }
.bl-chip-line { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }

/* ---------- tier labels (COMPONENTS §4) ---------- */
.bl-tier { align-self: flex-start; display: inline-block; font-family: var(--f-mono); font-size: 12px; line-height: 1.5; padding: 3px 8px; border-radius: 4px; }
.bl-tier--shipped { background: var(--ink); color: var(--on-dark); }
.bl-tier--eval { border: 1.5px solid var(--amber-border); color: var(--amber-text); padding: 2px 8px; }
.bl-tier--roadmap, .bl-tier--early { border: 1.5px dashed var(--ink-2); color: var(--ink-2); padding: 2px 8px; }
.bl-tier--onyellow { border: 1.5px solid var(--amber-deep); color: var(--amber-deep); padding: 2px 8px; }

.bl-tiercard { border-radius: 12px; padding: clamp(20px, 2.4cqi, 28px); display: flex; flex-direction: column; gap: 16px; }
.bl-tiercard--compact { padding: 16px 20px; gap: 8px; }
.bl-tiercard--shipped { border: 1.5px solid var(--ink); background: var(--white); }
.bl-tiercard--eval { border: 1.5px solid var(--amber-border); background: var(--amber-bg); }
.bl-tiercard--roadmap { border: 1.5px dashed var(--road-border); background: transparent; color: var(--ink-2); }
.bl-tiercard--roadmap p { font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.bl-tiercard--eval p { font-size: 15px; color: var(--ink-2); }
.bl-tiercard--ink { gap: 14px; }
.bl-tiercard__t { font-size: 17px; }
.bl-tiercard--roadmap .bl-tiercard__t { color: var(--ink-2); }
.bl-tiercard__t--lg { font-size: 20px; }
.bl-tiercard p { font-size: 15px; color: var(--ink-2); }
.bl-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.bl-list--10 { gap: 10px; }
.bl-list__sub { font-size: 15px; color: var(--ink-2); }

/* scope box (§5) */
.bl-scope { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; align-items: start; }
.bl-scope__side { display: flex; flex-direction: column; gap: 16px; }

/* ---------- hero ---------- */
.bl-hero { padding-top: clamp(32px, 6cqi, 80px); padding-bottom: clamp(32px, 5cqi, 64px); display: flex; flex-direction: column; gap: 20px; }
.bl-hero--split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(32px, 5cqi, 64px); align-items: center; padding-bottom: clamp(40px, 7cqi, 96px); }
.bl-hero__text { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.bl-lockup-hero { display: block; width: 200px; height: auto; } /* clear space comes from the gap; no optical negative margins */

/* ---------- 示意 boards (§8) ---------- */
.bl-board { position: relative; background: var(--dark); color: var(--on-dark); border-radius: 14px; padding: clamp(20px, 2.4cqi, 28px); display: flex; flex-direction: column; gap: 20px; }
.bl-board__tag { position: absolute; top: 16px; right: 16px; font-family: var(--f-mono); font-size: 12px; padding: 3px 8px; border: 1px solid var(--dark-edge); border-radius: 4px; color: var(--on-dark-2); }
.bl-board__now { display: flex; flex-direction: column; gap: 4px; }
.bl-board__label { font-size: 14px; color: var(--on-dark-3); }
.bl-board__numrow { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.bl-board__num { font-family: var(--f-mono); font-weight: 500; font-size: clamp(56px, 7cqi, 84px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bl-board__next { font-family: var(--f-mono); font-size: 14px; color: var(--on-dark-3); font-variant-numeric: tabular-nums; }
.bl-board__rows { border-top: 1px solid var(--dark-rule); display: flex; flex-direction: column; }
.bl-board__row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--dark-rule); }
.bl-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.bl-dot--on { background: var(--status-on); }
.bl-dot--off { background: var(--status-off); }
.bl-board__dev { flex: 1; font-size: 15px; }
.bl-board__st { font-family: var(--f-mono); font-size: 12px; color: var(--on-dark-3); }
.bl-board__st--off { color: var(--status-off-text); }
.bl-board__notify { align-self: flex-end; width: min(100%, 300px); background: var(--paper); color: var(--ink); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.bl-board__notify-cap { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.bl-board__notify-msg { font-size: 15px; font-weight: 500; }
.bl-board__caption { font-family: var(--f-mono); font-size: 12px; color: var(--on-dark-2); border-top: 1px dashed var(--dark-edge); padding-top: 12px; }
.bl-board__title { font-size: 15px; color: var(--on-dark-2); }
.bl-board--list { gap: 16px; }
.bl-board__kv { border-top: 1px solid var(--dark-rule); }
.bl-board__kv > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--dark-rule); }
.bl-board__k { font-family: var(--f-mono); font-size: clamp(18px, 2cqi, 22px); font-variant-numeric: tabular-nums; }
.bl-board__v { font-size: clamp(18px, 2cqi, 22px); font-weight: 700; }
.bl-board--small { border-radius: 10px; padding: 16px; gap: 6px; }
.bl-board--small .bl-board__tag { top: 10px; right: 10px; font-size: 11px; padding: 2px 6px; }
.bl-board--small .bl-board__label { font-size: 13px; }
.bl-board__num--small { font-size: 44px; font-weight: 400; letter-spacing: 0; }
.bl-board--small .bl-board__caption { font-size: 11px; margin-top: 8px; padding-top: 8px; }

/* ---------- Home ---------- */
.bl-doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.bl-door { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 200px; padding: 24px; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--paper); text-decoration: none; color: var(--ink) !important; }
.bl-door:hover { border-color: var(--ink); }
.bl-door--project { border: 1.5px dashed var(--door-dash); background: transparent; }
.bl-door--project:hover { border-color: var(--ink); }
.bl-door__num { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.bl-door__tag { position: absolute; top: 20px; right: 20px; font-family: var(--f-mono); font-size: 12px; padding: 2px 8px; border: 1px solid var(--door-dash); border-radius: 4px; color: var(--ink-2); }
.bl-door__t { font-weight: 700; font-size: 22px; line-height: 1.35; }
.bl-door__d { font-size: 15px; color: var(--ink-2); line-height: 1.6; flex: 1; }
.bl-door__go { font-weight: 500; font-size: 15px; }

.bl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 2px solid var(--ink); }
.bl-steps li { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 20px 0; border-bottom: 1px solid var(--rule); }
.bl-steps__n { font-family: var(--f-mono); font-size: 13px; font-weight: 500; }
.bl-steps__t { font-weight: 700; font-size: 19px; }
.bl-steps__d { font-size: 15px; color: var(--ink-2); }
.bl-productline { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 8px; }
.bl-productline img { width: 136px; height: auto; display: block; }
.bl-productline p { font-size: 15px; color: var(--ink-2); }

.bl-boundary { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 1px; background: var(--dark-rule); border: 1px solid var(--dark-rule); border-radius: 12px; overflow: hidden; }
.bl-boundary__col { background: var(--ink); padding: clamp(20px, 3cqi, 32px); display: flex; flex-direction: column; gap: 16px; }
.bl-boundary__col--alt { background: var(--dark); }
.bl-boundary h3 { font-size: 19px; font-weight: 700; }
.bl-boundary ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: #D6D9DD; }

.bl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-ichip { display: flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 8px; background: var(--white); text-decoration: none; font-size: 15px; color: var(--ink) !important; }
.bl-ichip:hover { border-color: var(--ink); }
.bl-ichip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* yellow bands (§11) */
.bl-yellow { background: var(--action); border-radius: 16px; padding: clamp(24px, 4.5cqi, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 32px; align-items: start; }
.bl-yellow--end { align-items: end; gap: 24px; }
.bl-yellow p { font-size: 16px; }

/* ---------- Queue ---------- */
.bl-cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.bl-card { padding: 20px; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--white); display: flex; flex-direction: column; gap: 8px; }
.bl-card b { font-size: 18px; }
.bl-card span { font-size: 15px; color: var(--ink-2); }
.bl-numrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); border-top: 2px solid var(--ink); }
.bl-numrow > div { padding: 20px 24px 20px 0; display: flex; flex-direction: column; gap: 8px; border-bottom: 1px solid var(--rule); }
.bl-numrow > div > span:last-child { font-size: 15px; color: var(--ink-2); }
.bl-numrow b { font-size: 19px; }
.bl-numrow__t20 { font-size: 20px !important; }
.bl-numrow--dark { border-top: 1px solid var(--dark-rule-2); }
.bl-numrow--dark > div { border-bottom-color: var(--dark-rule-2); }
.bl-numrow--dark > div > span:last-child { color: var(--on-dark-2); }
.bl-numrow__n { font-family: var(--f-mono); font-size: 13px; color: var(--on-dark-2); }
.bl-ba { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.bl-ba__card { border: 1.5px solid var(--rule); border-radius: 12px; padding: clamp(20px, 2.4cqi, 28px); background: var(--white); display: flex; flex-direction: column; gap: 16px; }
.bl-ba__card--after { border-color: var(--ink); }
.bl-ba__tag { align-self: flex-start; font-family: var(--f-mono); font-size: 12px; padding: 3px 8px; border: 1px solid var(--ink); border-radius: 4px; }
.bl-ba__tag--solid { background: var(--ink); color: var(--on-dark); }
.bl-ba__paper { background: #FBFAF6; border: 1px solid var(--rule); padding: 14px 16px; font-family: var(--f-mono); font-size: 14px; display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); }
.bl-ba ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--ink-2); }

/* ---------- FAQ (§11) ---------- */
.bl-faq { max-width: 880px; box-sizing: content-box !important; padding-bottom: clamp(40px, 6cqi, 72px); display: flex; flex-direction: column; gap: 16px; }
.bl-faq__list { border-top: 2px solid var(--ink); }
.bl-faq details { border-bottom: 1px solid var(--rule); }
.bl-faq summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; }
.bl-faq summary:focus-visible { outline-offset: 2px; }
.bl-faq__glyph { font-family: var(--f-mono); font-weight: 400; transition: transform .15s; }
.bl-faq details[open] .bl-faq__glyph { transform: rotate(45deg); }
.bl-faq details p { margin: 0 0 16px; font-size: 16px; color: var(--ink-2); max-width: 40em; }

/* related (§11) */
.bl-related { padding-bottom: clamp(40px, 6cqi, 72px); display: flex; flex-direction: column; gap: 16px; }
.bl-related__h { font-size: 18px; font-weight: 700; }
.bl-related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.bl-related__card { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--white); text-decoration: none; color: var(--ink) !important; }
.bl-related__card:hover { border-color: var(--ink); }
.bl-related__t { font-weight: 700; }

/* video (§11) */
.bl-video { padding-top: 0; padding-bottom: clamp(48px, 7cqi, 88px); display: flex; flex-direction: column; gap: 12px; }
.bl-video__btn { position: relative; aspect-ratio: 16 / 9; width: 100%; border: 0; padding: 0; border-radius: 14px; overflow: hidden; background: var(--dark); cursor: pointer; color: var(--on-dark); display: block; }
.bl-video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bl-video__play { position: absolute; inset: 0; margin: auto; width: clamp(64px, 8cqi, 96px); height: clamp(64px, 8cqi, 96px); border-radius: 50%; background: var(--action); color: var(--ink); display: grid; place-items: center; font-size: clamp(22px, 2.6cqi, 32px); }
.bl-video__dur { position: absolute; right: 16px; bottom: 16px; font-family: var(--f-mono); font-size: 13px; padding: 4px 8px; border-radius: 4px; background: rgba(0,0,0,0.6); font-variant-numeric: tabular-nums; }
.bl-video video { width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; background: #000; display: block; }
.bl-video__caption { font-size: 15px; color: var(--ink-2); }

/* ---------- Go ---------- */
.bl-shot { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--rule); background: var(--white); }
.bl-shot--hero { aspect-ratio: 16 / 10; object-fit: cover; }
.bl-shot--step { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.bl-gosteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.bl-gosteps li { display: flex; flex-direction: column; gap: 12px; }
.bl-gosteps__n { font-family: var(--f-mono); font-size: 13px; }
.bl-gosteps b { font-size: 18px; }
.bl-gosteps li > span:last-child { font-size: 15px; color: var(--ink-2); }
.bl-status { border-radius: 12px; padding: clamp(20px, 3cqi, 36px); display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.bl-status--early { border: 1.5px dashed var(--road-border); }
.bl-status--available { border: 1.5px solid var(--ink); background: var(--white); }
.bl-status p { font-size: 16px; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.bl-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.bl-scopechips { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); }
.bl-scopechips b { color: var(--ink); }
.bl-scopechips div { display: flex; flex-wrap: wrap; gap: 6px; }
.bl-scopechips div span { padding: 4px 10px; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper); }
.bl-capacity { font-size: 14px !important; flex: 1; border-top: 1px solid var(--rule); padding-top: 12px; }
.bl-tiercard--ink .bl-btn { align-self: flex-start; }
.bl-process { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--f-mono); font-size: 13px; color: var(--ink-2); }
.bl-process span:not([aria-hidden]) { padding: 6px 10px; border: 1px solid var(--rule); border-radius: 6px; background: var(--white); }
.bl-process--ink { color: var(--ink); }
.bl-process--ink span:not([aria-hidden]) { border-color: var(--ink); background: transparent; }
.bl-panel { background: var(--paper); border-radius: 12px; padding: clamp(18px, 2.4cqi, 24px); display: flex; flex-direction: column; gap: 12px; }
.bl-panel .bl-btn--dark { min-height: 56px; }
.bl-panel .bl-line-pair .bl-btn { flex: 1; }

/* ---------- Industry ---------- */
.bl-flow { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; align-items: stretch; }
.bl-flow__step { flex: 1; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--white); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.bl-flow__step b { font-size: 18px; }
.bl-flow__step > span:last-child { font-size: 14px; color: var(--ink-2); }
.bl-flow__n { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.bl-flow__arrow { align-self: center; font-family: var(--f-mono); font-size: 20px; text-align: center; }
.bl-flow__d { display: none; }
.bl-evalstrip { align-self: flex-start; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; border: 1.5px dashed var(--amber-border); border-radius: 8px; padding: 8px 12px; background: var(--amber-bg); }
.bl-evalstrip > span:last-child { font-size: 14px; color: var(--ink-2); }

.bl-maturity { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); border-radius: 14px; overflow: hidden; border: 2px solid var(--ink); }
.bl-maturity__ship { background: var(--white); display: flex; flex-direction: column; }
.bl-maturity__ship .bl-maturity__head { background: var(--ink); color: var(--on-dark); }
.bl-maturity__head { padding: 14px clamp(20px, 2.6cqi, 32px); display: flex; align-items: baseline; gap: 12px; }
.bl-maturity__head > span:last-child { font-size: 15px; }
.bl-maturity__ship .bl-maturity__head > span:last-child { color: var(--on-dark-2); }
.bl-maturity__lbl { font-family: var(--f-mono); font-size: 14px; font-weight: 500; }
.bl-maturity__ship ul { margin: 0; padding: clamp(20px, 2.6cqi, 32px); list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.bl-maturity__ship li { padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.bl-maturity__eval { background: var(--amber-bg); border-left: 2px solid var(--ink); display: flex; flex-direction: column; }
.bl-maturity__eval .bl-maturity__head { color: var(--amber-text); border-bottom: 2px dashed var(--amber-border); }
.bl-maturity__eval .bl-tier--eval { font-size: 14px; font-weight: 500; }
.bl-maturity__body { padding: clamp(20px, 2.6cqi, 32px); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.bl-maturity__body b { font-size: 20px; line-height: 1.4; }
.bl-maturity__body span { font-size: 16px; color: var(--ink-2); line-height: 1.7; }
.bl-maturity__body .bl-btn { margin-top: 4px; }

.bl-assess { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; align-items: center; }
.bl-assess .bl-h2 { line-height: 1.4; }
.bl-partner { border: 1.5px solid var(--ink); border-radius: 14px; background: var(--white); padding: clamp(20px, 3cqi, 36px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; align-items: center; }
.bl-partner__t { font-size: 22px; line-height: 1.4; }
.bl-partner__d { font-size: 15px; color: var(--ink-2); }
.bl-ctapair { border: 1.5px solid var(--ink); border-radius: 16px; background: var(--white); padding: clamp(24px, 4.5cqi, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 28px; align-items: center; }

/* ---------- forms (§9): Fluent Forms output, restyled ---------- */
.bl-formbox { background: var(--paper); border-radius: 12px; padding: clamp(18px, 2.4cqi, 24px); display: flex; flex-direction: column; gap: 16px; }
.bl-formbox--compact { padding: 20px; gap: 14px; }
.bl-formbox__title { font-weight: 700; font-size: 18px; }
.bl-ff .fluentform .ff-el-group { margin-bottom: 16px; }
.bl-formbox--compact .bl-ff .fluentform .ff-el-group { margin-bottom: 14px; }
.bl-ff .fluentform .ff-el-input--label { margin-bottom: 6px; }
.bl-ff .fluentform .ff-el-input--label label, .bl-ff .fluentform legend { font-size: 14px; font-weight: 500; color: var(--ink); }
.bl-ff .fluentform .ff-el-help-message { font-size: 14px; color: var(--muted); font-style: normal; }
.bl-ff .fluentform .ff-el-form-control {
  min-height: 52px; padding: 0 12px; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--white);
  font-size: 16px; font-family: inherit; color: var(--ink); box-shadow: none; width: 100%;
}
.bl-ff .fluentform textarea.ff-el-form-control { padding: 12px; min-height: 0; resize: vertical; }
.bl-formbox--compact .bl-ff .fluentform .ff-el-form-control:not(textarea) { min-height: 48px; }
.bl-ff .fluentform .ff-el-form-control:focus { outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--ink); box-shadow: none; }
/* contact toggle: native radios rendered as a 3-up button group (keeps radio semantics) */
.bl-ff .fluentform .bl-toggle .ff-el-input--content { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bl-ff .fluentform .bl-toggle .ff-el-form-check { margin: 0; }
.bl-ff .fluentform .bl-toggle .ff-el-form-check-label {
  display: flex; align-items: center; justify-content: center; min-height: 52px; margin: 0; padding: 0 8px;
  border: 1.5px solid var(--ink); border-radius: 8px; background: var(--white); color: var(--ink);
  font-size: 16px; font-weight: 700; cursor: pointer; position: relative;
}
.bl-ff .fluentform .bl-toggle input[type=radio] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.bl-ff .fluentform .bl-toggle .ff-el-form-check-label:has(input:checked) { background: var(--ink); color: var(--on-dark); }
.bl-ff .fluentform .bl-toggle .ff-el-form-check-label:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.bl-ff .fluentform .bl-notice, .bl-ff .fluentform .bl-notice p { font-size: 13px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.bl-ff .fluentform .bl-notice a { margin-left: 4px; color: var(--ink); }
.bl-ff .fluentform .bl-notice a:hover { color: var(--muted); }
.bl-ff .fluentform .ff_submit_btn_wrapper { margin: 0; }
.bl-ff .fluentform .ff-btn-submit {
  width: 100%; min-height: 56px; border: 0; border-radius: 8px; background: var(--ink) !important; color: var(--on-dark) !important;
  font-weight: 700; font-size: 17px; font-family: inherit; cursor: pointer; box-shadow: none;
}
.bl-formbox--compact .bl-ff .fluentform .ff-btn-submit { min-height: 52px; }
.bl-ff .fluentform .ff-btn-submit:hover { background: var(--dark-rule) !important; opacity: 1; }
.bl-ff .fluentform .ff-btn-submit:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.bl-ff .fluentform .ff-el-is-error .ff-el-form-control { border-color: #B3261E; }
.bl-ff .fluentform .text-danger, .bl-ff .fluentform .error { font-size: 14px; color: #8C1D18; }
.bl-ff .ff-el-group.bl-row2 { display: inline-block; }

/* thank-you (§9) */
.bl-thanks { background: var(--paper); border-radius: 12px; padding: clamp(20px, 2.6cqi, 28px); display: flex; flex-direction: column; gap: 16px; }
.bl-thanks[hidden] { display: none; }
.bl-thanks:focus { outline: none; }
.bl-thanks__title { font-size: 22px; line-height: 1.4; }
.bl-recap { border-top: 1px solid var(--rule); }
.bl-recap > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.bl-recap dt { color: var(--muted); margin: 0; }
.bl-recap dd { font-weight: 500; text-align: right; margin: 0; overflow-wrap: anywhere; }
.bl-thanks__next { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--ink-2); }
.bl-thanks__next b { color: var(--ink); }
.bl-thanks__close { font-size: 15px; }

.bl-admin-warn { border: 2px dashed #B3261E; background: #FFF; color: #3A0B08; padding: 12px 16px; border-radius: 8px; font: 14px/1.5 var(--f-body); }
.bl-admin-warn ul { margin: 6px 0 0; padding-left: 20px; }

/* ---------- generic content (privacy / terms) ---------- */
.bl-prose-wrap { max-width: 880px; box-sizing: content-box !important; }
.bl-prose { display: flex; flex-direction: column; gap: 16px; font-size: 16px; line-height: 1.75; color: var(--ink); }
.bl-prose h2 { font-family: var(--f-head); font-size: clamp(20px, 2.4cqi, 26px); margin-top: 24px; }
.bl-prose h3 { font-size: 18px; margin-top: 8px; }
.bl-prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.bl-prose th, .bl-prose td { border: 1px solid var(--rule); padding: 8px 10px; text-align: left; vertical-align: top; }
.bl-prose th { background: var(--white); }
.bl-prose hr { border: 0; border-top: 1px solid var(--rule); width: 100%; }
.bl-prose ul, .bl-prose ol { padding-left: 22px; margin: 0; }

/* ---------- footer ---------- */
.bl-footer { border-top: 1px solid var(--rule); }
.bl-footer__inner { padding-top: clamp(48px, 7cqi, 88px); padding-bottom: clamp(32px, 4cqi, 48px); display: flex; flex-direction: column; gap: clamp(40px, 6cqi, 72px); }
.bl-footer__top { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 28px 24px; align-items: center; }
.bl-footer__top .bl-wordmark { justify-self: start; }
.bl-footer__tagline { font-size: 15px; color: var(--ink-2); text-align: center; text-wrap: balance; }
.bl-footer__lang { justify-self: end; }
.bl-footer__links { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; }
.bl-footer__links a { text-decoration: none; color: var(--ink); }

/* ---------- sticky bar (narrow) ---------- */
.bl-sticky { position: sticky; bottom: 0; z-index: 6; background: rgba(242,240,234,0.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--rule); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 10px; }
.bl-sticky .bl-btn { flex: 1; padding: 0 12px; }
.bl-sticky .bl-btn:focus-visible { outline-offset: 2px; }

/* ---------- ☰ menu overlay (outside the container; position:fixed) ---------- */
.bl-menu { position: fixed; inset: 0; z-index: 100; background: var(--paper); padding: 0 16px 24px; display: flex; flex-direction: column; overflow-y: auto; font-family: var(--f-body); color: var(--ink); }
.bl-menu[hidden] { display: none; }
.bl-menu__top { height: 64px; display: flex; align-items: center; justify-content: space-between; flex: none; }
.bl-menu__top .bl-wordmark img { height: 26px; width: auto; display: block; }
.bl-menu__close { width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 6px; background: transparent; font-size: 18px; color: var(--ink); cursor: pointer; font-family: inherit; }
.bl-menu__nav { border-top: 2px solid var(--ink); display: flex; flex-direction: column; }
.bl-menu__nav a { min-height: 64px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rule); font-family: var(--f-head); font-weight: 700; font-size: 26px; text-decoration: none; color: var(--ink); }
.bl-menu__nav a span { font-family: var(--f-mono); font-weight: 400; }
.bl-menu :focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.bl-menu__actions { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.bl-menu__actions .bl-btn { width: 100%; }
html.bl-menu-open, html.bl-menu-open body { overflow: hidden; }

/* ---------- wide / narrow switch (design: 760px container width) ---------- */
.bl-narrow-only { display: none !important; }
@container page (max-width: 759.98px) {
  .bl-wide-only { display: none !important; }
  .bl-narrow-only { display: grid !important; }
  .bl-sticky.bl-narrow-only { display: flex !important; }
  .bl-flow { flex-direction: column; }
  .bl-flow__r { display: none; }
  .bl-flow__d { display: inline; }
  .bl-footer__tagline { text-align: left; }
  .bl-footer__lang { justify-self: start; }
  .bl-maturity__eval { border-left: 0; border-top: 2px solid var(--ink); }
}
@media (min-width: 760px) { .bl-menu { display: none !important; } }

@media (prefers-reduced-motion: reduce) { .bl-faq__glyph { transition: none; } }
