/* Built to Lead Assessment — component styles on existing LFTH tokens.
   Red is interaction only; gold is guidance only; state fills use the
   --btl-state-* ramp. Every surface works at 390px and 1280px. */

.btl-page-shell { background: var(--bg-soft); color: var(--charcoal); }
.btl-wrap { max-width: 1100px; margin: 0 auto; padding: clamp(32px, 5vw, 64px) var(--sp-8) clamp(48px, 7vw, 96px); }
.btl-banners:empty { display: none; }
.btl-banners { max-width: 1100px; margin: 0 auto; padding: var(--sp-4) var(--sp-8) 0; }

:where(.btl-page-shell) :focus-visible { outline: 2px solid var(--red-600); outline-offset: 3px; }

.btl-eyebrow { margin: 0 0 10px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-primary); }
.btl-eyebrow--dark { color: var(--charcoal); }
.btl-eyebrow--gold { color: var(--gold-700); }
.btl-eyebrow--quiet { color: var(--grey-600); }
.btl-display { margin: 0 0 var(--sp-4); font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 5vw, 54px); line-height: 1.02; letter-spacing: -.03em; }
.btl-lead { max-width: 680px; font-size: 18px; line-height: 1.6; color: var(--fg-2); }
.btl-help { display: block; font-size: 13px; line-height: 1.5; color: var(--grey-600); }
.btl-small { font-size: 13px; line-height: 1.6; color: var(--fg-2); }
.btl-disclaimer { margin: var(--sp-4) 0 0; padding: 4px 0 4px 14px; border-left: 3px solid var(--gold-600); font-size: 14px; line-height: 1.55; color: var(--fg-2); }
.btl-reference { margin: var(--sp-3) 0; font-size: 13px; font-weight: 700; color: var(--gold-700); }
.btl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--sp-6); align-items: center; }
.btl-actions--center { justify-content: center; }
.btl-link-button { background: none; border: 0; padding: 8px 0; min-height: 44px; font: inherit; font-size: 14px; font-weight: 700; color: var(--charcoal); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.btl-link-button:hover { color: var(--brand-primary); }
.btl-card { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); }
.btl-dash-list { list-style: none; margin: 16px 0 0; padding: 0; }
.btl-dash-list li { position: relative; padding: 5px 0 5px 20px; line-height: 1.5; }
.btl-dash-list li::before { content: ''; position: absolute; left: 0; top: 15px; width: 10px; height: 2px; background: var(--gold-600); }
.btl-tag { display: inline-block; margin: 12px 0 8px; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--gold-100); color: var(--charcoal); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.btl-tag--light { margin-top: 0; }

/* Banners: cream, charcoal, never red. */
.btl-banner { padding: 14px 18px; border: 1px solid var(--charcoal); border-radius: var(--radius-md); background: var(--cream); }
.btl-banner-title { margin: 0; font-weight: 700; }
.btl-banner-body { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--fg-2); }
.btl-banner-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

body.btl-running site-header, body.btl-running site-footer { display: none; }
/* Keep focused statements clear of the sticky header, progress and nav bars (WCAG 2.4.11). */
html:has(body.btl-running) { scroll-padding-top: 190px; scroll-padding-bottom: 110px; }

/* ── Focused assessment header ─────────────────────────────── */
.btl-focus-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 0 var(--sp-8); background: var(--white); border-bottom: 1px solid var(--border); }
.btl-focus-header[hidden] { display: none; }
.btl-focus-logo img { display: block; height: 30px; width: auto; }
.btl-focus-name { padding-left: 16px; border-left: 1px solid var(--border); font-size: 13px; font-weight: 700; }
.btl-focus-status { margin-left: auto; font-size: 13px; color: var(--grey-600); }
.btl-focus-exit { min-height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.btl-skip { position: absolute; left: -9999px; top: 0; z-index: 50; padding: 10px 14px; background: var(--charcoal); color: var(--white); }
.btl-skip:focus { left: 12px; top: 12px; }

/* ── Progress bar ──────────────────────────────────────────── */
.btl-progress { position: sticky; top: 60px; z-index: 15; background: var(--cream); border-bottom: 1px solid var(--border); }
.btl-progress-inner { display: flex; align-items: center; gap: 14px; max-width: 1100px; margin: 0 auto; padding: 10px var(--sp-8); }
.btl-progress-text { min-width: 0; }
.btl-progress-name { margin: 0; font-weight: 700; }
.btl-progress-meta { margin: 0; font-size: 12px; color: var(--grey-600); }
.btl-progress .btl-link-button { margin-left: auto; font-size: 13px; }
.btl-continue-panel { max-width: 1100px; margin: 0 auto; padding: 0 var(--sp-8) 14px; }
.btl-inline-field { display: flex; gap: 10px; flex-wrap: wrap; }
.btl-inline-field .btl-input { flex: 1 1 220px; }

/* ── Screens ───────────────────────────────────────────────── */
.btl-screen { max-width: 920px; margin: 0 auto; padding: clamp(32px, 5vw, 56px) var(--sp-8) clamp(40px, 6vw, 72px); }
.btl-scale-list { list-style: none; margin: var(--sp-5) 0; padding: 0; display: grid; gap: 8px; }
.btl-scale-list li { display: flex; gap: 12px; align-items: center; }
.btl-scale-num { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); font-weight: 700; }
.btl-part { text-align: center; }
.btl-part .btl-grid { max-width: 360px; margin: var(--sp-8) auto; }
.btl-part-foundations { color: var(--fg-2); }
.btl-part-complete { font-size: 14px; color: var(--grey-600); }
.btl-foundation-name { margin: 0; font-family: var(--font-display); font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.btl-foundation-def { margin: 8px 0 0; font-size: 18px; color: var(--fg-2); }
.btl-team-note { margin: 0 0 var(--sp-4); padding: 10px 14px; border-radius: var(--radius-md); background: var(--gold-100); font-size: 14px; }

/* Statements: desktop radio grid (5 × 78px), mobile number targets. */
.btl-statements { margin-top: var(--sp-5); border-top: 2px solid var(--charcoal); }
.btl-scale-header { position: sticky; top: 124px; z-index: 5; display: grid; grid-template-columns: 1fr repeat(5, 78px); gap: 0; padding: 10px 0; background: var(--bg-soft); border-bottom: 1px solid var(--border); font-size: 11px; font-weight: 700; line-height: 1.2; text-align: center; color: var(--grey-600); }
.btl-legend-strip { display: none; }
.btl-statement { display: grid; grid-template-columns: 1fr repeat(5, 78px); align-items: center; margin: 0; padding: 14px 0; border: 0; border-bottom: 1px solid var(--border); }
.btl-statement legend { float: left; width: 100%; padding: 0; }
.btl-statement-text { display: flex; gap: 12px; padding-right: 16px; font-size: 16px; line-height: 1.5; }
.btl-statement-num { flex: 0 0 22px; padding-top: 3px; font-size: 11px; color: var(--grey-500); }
.btl-opts { display: contents; }
.btl-opt { position: relative; display: grid; place-items: center; min-height: 48px; cursor: pointer; }
.btl-radio { appearance: none; width: 22px; height: 22px; margin: 0; border: 1.5px solid var(--grey-400); border-radius: 50%; background: var(--white); cursor: pointer; }
.btl-radio:checked { border-color: var(--red-600); background: radial-gradient(circle, var(--red-600) 0 5px, var(--white) 6px); }
.btl-opt:hover .btl-radio { border-color: var(--charcoal); }
.btl-opt-num { display: none; }
.btl-echo { display: none; }
.btl-statement--missing .btl-statement-text { color: var(--charcoal); }
.btl-statement--missing .btl-statement-num::after { content: ' •'; color: var(--gold-700); }
.btl-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: var(--sp-8); }
.btl-remaining { margin: 0; font-size: 14px; color: var(--grey-600); }
.btl-continue[aria-disabled="true"] { background: var(--grey-300); color: var(--white); box-shadow: none; }

.btl-summary-note { margin: var(--sp-4) 0 0; font-size: 13px; font-weight: 700; color: var(--gold-700); }
.btl-summary-list { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--border); }
.btl-summary-row { display: flex; gap: 12px; width: 100%; min-height: 44px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--border); background: none; font: inherit; text-align: left; cursor: pointer; }
.btl-summary-text { display: grid; gap: 6px; line-height: 1.5; }
.btl-summary-answer { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 700; }
.btl-summary-value { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: var(--radius-sm); background: var(--red-50); color: var(--red-600); }

/* ── NineSquare ────────────────────────────────────────────── */
.btl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.btl-cell { position: relative; min-height: 0; border: 1px solid var(--btl-cell-border); border-radius: 6px; background: var(--white); color: var(--charcoal); }
.btl-cell-body, .btl-cell-button { display: flex; flex-direction: column; justify-content: flex-end; width: 100%; height: 100%; min-height: 128px; padding: 12px; border: 0; background: none; color: inherit; font: inherit; text-align: left; }
.btl-cell-button { cursor: pointer; border-radius: 6px; }
.btl-cell-name { font-size: 17px; font-weight: 700; line-height: 1.2; }
.btl-cell-state { margin-top: 2px; font-size: 14px; font-weight: 800; }
.btl-cell-plain { font-size: 12px; font-weight: 400; }
.btl-cell-def { margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--grey-600); }
.btl-cell-score { position: absolute; top: 10px; right: 12px; font-size: 13px; font-weight: 500; opacity: .7; }
.btl-grid--names .btl-cell, .btl-grid--part .btl-cell { display: flex; align-items: flex-end; aspect-ratio: 1; padding: 12px; font-weight: 700; }
.btl-grid--definitions .btl-cell { display: flex; flex-direction: column; padding: 16px; min-height: 124px; }
.btl-grid--definitions .btl-cell-name { font-size: 16px; }
.btl-state--crisis { background: var(--btl-state-crisis); color: var(--charcoal); }
.btl-state--disruption { background: var(--btl-state-disruption); color: var(--charcoal); }
.btl-state--awareness { background: var(--btl-state-awareness); color: var(--charcoal); }
.btl-state--builder { background: var(--btl-state-builder); color: var(--white); }
.btl-state--master { background: var(--btl-state-master); color: var(--white); }
.btl-cell--selected { outline: 2px solid var(--red-600); outline-offset: 2px; }
.btl-cell--tied { box-shadow: inset 0 0 0 2px var(--gold-600); }
.btl-cell--dim { opacity: .35; }
.btl-cell--part { border: 2px solid var(--red-600); }
.btl-grid--progress-mini { width: 40px; gap: 2px; flex: 0 0 40px; }
.btl-grid--progress-mini .btl-cell { aspect-ratio: 1; border-radius: 2px; background: var(--grey-100); }
.btl-grid--progress-mini .btl-cell--complete { background: var(--btl-state-builder); }
.btl-grid--progress-mini .btl-cell--current { background: var(--white); border: 2px solid var(--red-600); }
.btl-grid--shape, .btl-grid--comparison { gap: 6px; }
.btl-grid--shape .btl-cell, .btl-grid--comparison .btl-cell { aspect-ratio: 1; }
.btl-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.btl-legend-item { display: flex; flex-direction: column; justify-content: flex-end; min-height: 90px; padding: 10px; border: 1px solid var(--btl-cell-border); border-radius: 6px; }
.btl-legend-name { font-weight: 700; }
.btl-legend-plain { font-size: 12px; }
.btl-shape-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.btl-shape-table th, .btl-shape-table td { padding: 8px 6px; border-bottom: 1px solid var(--border); text-align: left; }
.btl-shape-table thead th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-600); }
.btl-num { text-align: right !important; color: var(--grey-600); }

/* ── Preview + gate ────────────────────────────────────────── */
.btl-profile-heading { font-size: 11px; }
.btl-profile-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; align-items: start; }
.btl-headlines { margin: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); }
.btl-headline { padding: 16px 20px; border-bottom: 1px solid var(--border); }
.btl-headline:last-child { border-bottom: 0; }
.btl-headline dd { margin: 0; }
.btl-headline-value { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 800; }
.btl-headline-detail { display: block; margin-top: 2px; font-size: 13px; color: var(--grey-600); }
.btl-domain-summary { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: var(--sp-4) 0 0; padding: 12px 0 0; border-top: 1px solid var(--border); font-size: 12px; color: var(--grey-600); }
.btl-domain-summary li { display: grid; gap: 4px; }
.btl-gate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); margin-top: var(--sp-10); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--white); }
.btl-gate-panel { padding: 30px; background: var(--charcoal); color: var(--white); }
.btl-gate-panel h2 { margin: 0; font-family: var(--font-display); font-size: 26px; line-height: 1.15; }
.btl-gate-body { padding: 30px; }
.btl-gate--declined .btl-gate-form { opacity: .92; }
.btl-gate-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btl-field { display: grid; gap: 6px; margin: 0 0 16px; padding: 0; border: 0; }
.btl-label { display: grid; gap: 2px; font-size: 13px; font-weight: 700; }
.btl-input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--border-strong, var(--grey-300)); border-radius: var(--radius-md); background: var(--white); font: inherit; font-size: 16px; color: var(--charcoal); }
.btl-input[aria-invalid="true"] { border-color: var(--red-600); }
textarea.btl-input { min-height: 96px; resize: vertical; }
.btl-error { margin: 0; font-size: 13px; font-weight: 700; color: var(--red-700); }
.btl-consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 18px; }
.btl-checkbox { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--red-600); flex: 0 0 auto; }
.btl-consent label { display: grid; gap: 2px; font-size: 14px; line-height: 1.45; }
.btl-gate-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; }

/* ── Full result ───────────────────────────────────────────── */
.btl-synthesis { margin: var(--sp-8) 0 0; padding: 16px 20px; border-left: 3px solid var(--gold-600); background: var(--white); line-height: 1.6; }
.btl-questions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: var(--sp-8); }
.btl-q-card { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); }
.btl-q-card > p { font-size: 15px; line-height: 1.6; color: var(--fg-2); }
.btl-q-rows { list-style: none; margin: 0 0 12px; padding: 0; border-top: 1px solid var(--border); }
.btl-q-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.btl-q-name { font-weight: 700; }
.btl-q-name--lead { margin: 0; font-size: 18px; }
.btl-q-state { font-size: 13px; color: var(--grey-600); }
.btl-guidance { margin-top: 12px; padding: 14px 16px; border-radius: var(--radius-md); background: var(--gold-100); font-size: 14px; line-height: 1.55; }
.btl-guidance p { margin: 0; }
.btl-chooser { margin-top: var(--sp-6); padding: 24px; border: 1px solid var(--charcoal); border-radius: var(--radius-lg); background: var(--cream); }
.btl-chooser h2 { margin: 0 0 6px; font-size: 20px; }
.btl-chooser-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 16px 0; }
.btl-choice { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); cursor: pointer; }
.btl-choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red-600); }
.btl-choice-name { font-weight: 700; }
.btl-choice-state { display: block; flex-basis: 100%; margin-left: 30px; margin-top: -6px; font-size: 13px; color: var(--grey-600); }
.btl-chooser .btl-choice { flex-wrap: wrap; }
.btl-primary { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; margin-top: var(--sp-10); padding-top: var(--sp-8); border-top: 1px solid var(--border); align-items: start; }
.btl-primary-heading { margin: 0 0 12px; font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; letter-spacing: -.02em; }
.btl-primary-main > p { line-height: 1.65; color: var(--fg-2); }
.btl-edge { margin-top: 16px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); }
.btl-edge p { margin: 0; }
.btl-next-step { padding: 28px; border-radius: var(--radius-lg); background: var(--charcoal); color: var(--white); }
.btl-next-step h3 { margin: 0 0 10px; font-family: var(--font-display); font-size: 24px; }
.btl-next-step p { line-height: 1.6; color: rgba(255,255,255,.85); }
.btl-help--invert { color: rgba(255,255,255,.72); }
.btl-next-step .btl-tag { color: var(--charcoal); }
.btl-support { margin-top: 16px; padding: 16px 18px; border: 1px solid var(--charcoal); border-radius: var(--radius-md); background: var(--cream); }
.btl-support h4 { margin: 0 0 6px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.btl-support p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; }
.btl-others { margin-top: var(--sp-10); }
.btl-accordion { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.btl-detail { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); }
.btl-detail-header { margin: 0; font-size: inherit; }
.btl-detail-button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 14px 16px; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.btl-swatch { flex: 0 0 16px; height: 16px; border: 1px solid var(--btl-cell-border); border-radius: 3px; }
.btl-detail-head { display: grid; gap: 2px; min-width: 0; }
.btl-detail-name { font-weight: 700; }
.btl-detail-state { font-size: 13px; color: var(--grey-600); }
.btl-detail-score { margin-left: auto; font-size: 13px; color: var(--grey-600); }
.btl-detail-icon::before { content: '+'; font-weight: 700; }
.btl-detail-button[aria-expanded="true"] .btl-detail-icon::before { content: '−'; }
.btl-detail-body { padding: 4px 16px 18px; border-top: 1px solid var(--border); }
.btl-detail-body > p { line-height: 1.6; color: var(--fg-2); }
.btl-detail-sentence { margin: 14px 0 12px; font-size: 18px; line-height: 1.3; }
.btl-practice-card { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-md); }
.btl-practice-title { margin: 0; font-weight: 700; }
.btl-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: var(--sp-8); align-items: start; }
.btl-plan-summary { margin: 0 0 16px; font-size: 17px; font-weight: 700; line-height: 1.4; }
.btl-plan-label { font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.btl-segments { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.btl-segment { position: relative; }
.btl-segment input { position: absolute; opacity: 0; }
.btl-segment span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); font-size: 14px; font-weight: 700; cursor: pointer; }
.btl-segment input:checked + span { border-color: var(--charcoal); background: var(--charcoal); color: var(--white); }
.btl-segment input:focus-visible + span { outline: 2px solid var(--red-600); outline-offset: 3px; }
.btl-journey-links { list-style: none; margin: 0; padding: 0; }
.btl-journey-links li { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--border); }
.btl-journey-links a { font-weight: 700; color: var(--brand-primary); }
.btl-book-line { margin: 12px 0 0; font-size: 13px; color: var(--grey-600); }
.btl-book-line a { font-weight: 700; color: var(--brand-primary); }
.btl-review, .btl-history, .btl-retake-invite { margin-top: var(--sp-8); }
.btl-comparison-grids { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 24px; margin: 16px 0; }
.btl-comparison-grids figure { margin: 0; }
.btl-comparison-grids figcaption { margin-top: 8px; font-size: 13px; color: var(--grey-600); }
.btl-movement { padding-left: 18px; line-height: 1.7; }
.btl-result-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: var(--sp-8); }
.btl-destructive { border-color: var(--charcoal); }
.btl-dialog { max-width: min(560px, calc(100vw - 32px)); padding: 28px; border: 1px solid var(--charcoal); border-radius: var(--radius-lg); background: var(--white); color: var(--charcoal); }
.btl-dialog::backdrop { background: rgba(26,26,26,.5); }
.btl-share { max-width: min(920px, calc(100vw - 32px)); }
.btl-share-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.btl-share-preview { width: 100%; height: auto; border: 1px solid var(--border); border-radius: var(--radius-md); }
.btl-share-options { display: grid; gap: 8px; margin-bottom: 16px; }
.btl-share .btn { margin-top: 8px; }
.btl-recover { max-width: 560px; }
.btl-recover-form { display: grid; gap: 10px; margin-top: var(--sp-6); }

/* Launch state: start links only once live; the pre-launch notice otherwise. */
html:not([data-btl-launch="live"]) [data-btl-start] { display: none; }
html[data-btl-launch="live"] [data-btl-prelaunch] { display: none; }
.btl-prelaunch { max-width: 520px; margin: 0 0 16px; padding: 16px 18px; border: 1px solid var(--charcoal); border-radius: var(--radius-md); background: var(--cream); color: var(--charcoal); text-align: left; }
.btl-cta .btl-prelaunch { margin: 0 auto; }
.btl-prelaunch p { margin: 0; }
.btl-prelaunch-title { font-weight: 700; }
.btl-prelaunch-body { margin-top: 4px !important; font-size: 14px; color: var(--fg-2); }
.btl-prelaunch-link { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--brand-primary); }

/* ── Landing ───────────────────────────────────────────────── */
.btl-hero { padding: clamp(48px, 7vw, 96px) var(--sp-8); background: var(--bg-soft); }
.btl-hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; max-width: 1100px; margin: 0 auto; }
.btl-hero h1 { margin: 0 0 18px; font-family: var(--font-display); font-size: clamp(36px, 5vw, 54px); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; }
.btl-hero h1 em { font-style: normal; color: var(--brand-primary); }
.btl-hero-lead { margin: 0 0 12px; font-size: 20px; font-weight: 500; line-height: 1.45; }
.btl-hero-body { margin: 0 0 20px; line-height: 1.7; color: var(--fg-2); }
.btl-meta { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin: 0 0 24px; padding: 0; font-size: 13px; font-weight: 700; }
.btl-meta li { position: relative; padding-left: 20px; }
.btl-meta li::before { content: ''; position: absolute; left: 0; top: 8px; width: 10px; height: 2px; background: var(--gold-600); }
.btl-attribution { margin: 14px 0 0; font-size: 13px; color: var(--grey-600); }
.btl-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 16px; gap: 14px; max-width: 460px; justify-self: end; width: 100%; }
.btl-grid--names .btl-cell { font-size: 15px; }
.btl-row-labels { display: grid; grid-template-rows: repeat(3, 1fr); gap: 6px; }
.btl-row-labels span { display: flex; align-items: center; justify-content: center; overflow: hidden; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 9px; white-space: nowrap; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-600); text-align: center; }
.btl-section { padding: clamp(56px, 7vw, 96px) var(--sp-8); background: var(--white); }
.btl-section--soft { background: var(--bg-soft); }
.btl-section-inner { max-width: 1100px; margin: 0 auto; }
.btl-section h2 { margin: 0 0 var(--sp-6); font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 38px); line-height: 1.1; letter-spacing: -.02em; }
.btl-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.btl-trust p { font-size: 17px; line-height: 1.7; color: var(--fg-2); }
.btl-nine { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
.btl-parts { display: grid; grid-template-rows: repeat(3, 1fr); gap: 6px; }
.btl-parts div { display: flex; flex-direction: column; justify-content: center; border-top: 2px solid var(--charcoal); }
.btl-parts p { margin: 0; }
.btl-parts strong { font-size: 15px; }
.btl-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; }
.btl-step { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); }
.btl-step-num { display: block; font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--brand-primary); }
.btl-step h3 { margin: 10px 0 8px; font-size: 18px; }
.btl-step p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--fg-2); }
.btl-cta { padding: clamp(56px, 7vw, 88px) var(--sp-8); background: var(--brand-primary); color: var(--white); text-align: center; }
.btl-cta h2 { max-width: 640px; margin: 0 auto 24px; font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; }
.btl-cta p { margin: 16px 0 0; font-size: 13px; color: rgba(255,255,255,.85); }

/* ── Report (A4, print CSS) ───────────────────────────────── */
.btl-report-body { background: var(--grey-100); }
.btl-report-toolbar { display: flex; justify-content: center; gap: 12px; padding: 16px; }
.btl-page { box-sizing: border-box; width: 210mm; min-height: 297mm; margin: 0 auto 16px; padding: 18mm 18mm 24mm; position: relative; background: var(--white); color: var(--charcoal); font-size: 11pt; line-height: 1.55; }
.btl-page h1, .btl-page h2, .btl-page h3 { font-family: var(--font-display); }
.btl-page-footer { position: absolute; left: 18mm; right: 18mm; bottom: 10mm; display: flex; justify-content: space-between; font-size: 8pt; color: var(--grey-600); }
.btl-page--cover { background: var(--charcoal); color: var(--white); }
.btl-page--cover h1 { margin: 24mm 0 6mm; font-size: 34pt; line-height: 1.05; }
.btl-page--cover .btl-grid { width: 70mm; margin: 14mm 0; }
.btl-page--cover .btl-state--crisis { background: var(--btl-dark-crisis); }
.btl-page--cover .btl-state--disruption { background: var(--btl-dark-disruption); }
.btl-page--cover .btl-state--awareness { background: var(--btl-dark-awareness); }
.btl-page--cover .btl-state--builder { background: var(--btl-dark-builder); }
.btl-page--cover .btl-state--master { background: var(--btl-dark-master); }
.btl-page--cover .btl-cell { border-color: rgba(255,255,255,.2); }
.btl-cover-line { max-width: 90mm; font-size: 14pt; }
.btl-cover-attribution { position: absolute; bottom: 14mm; font-size: 8pt; color: rgba(255,255,255,.7); }
.btl-report-shape { display: grid; gap: 8mm; }
.btl-report-shape .btl-grid { width: 110mm; }
.btl-grid--report-light .btl-cell-body { min-height: 30mm; padding: 3mm; }
.btl-grid--report-light .btl-cell-name { font-size: 11pt; }
.btl-report-domain, .btl-report-detail { break-inside: avoid; margin-bottom: 6mm; }
.btl-report-glance { display: grid; grid-template-columns: 1fr 1fr; gap: 4mm 6mm; }
.btl-glance { break-inside: avoid; padding-top: 3mm; border-top: 1px solid var(--border); }
.btl-glance-name { display: flex; gap: 2mm; align-items: center; margin: 0; font-size: 11pt; }
.btl-glance-name .btl-swatch { flex: 0 0 3.5mm; height: 3.5mm; }
.btl-glance-state { margin: 1mm 0; font-size: 9pt; font-weight: 700; }
.btl-glance-edge { margin: 0; font-size: 9pt; line-height: 1.45; color: var(--fg-2); }
.btl-glance-label { font-size: 7.5pt; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--charcoal); }
.btl-support--compact { margin-top: 2mm; padding: 2mm 3mm; }
.btl-support--compact h4 { font-size: 7.5pt; }
.btl-support--compact p { margin-top: 1mm; font-size: 8.5pt; line-height: 1.4; }
.btl-report-plan div { padding: 4mm 0; border-bottom: 1px solid var(--border); }
.btl-report-plan dd { margin: 2mm 0 0; min-height: 8mm; }
.btl-write-line { border-bottom: 1px solid var(--grey-400); }

@media print {
  @page { size: A4; margin: 0; }
  .btl-report-body { background: none; }
  .btl-report-toolbar, .btl-banners { display: none !important; }
  /* One section = one physical sheet; the PDF test fails if content overflows. */
  .btl-page { height: 297mm; min-height: 0; overflow: hidden; margin: 0; break-after: page; box-shadow: none; }
  .btl-page:last-child { break-after: auto; }
  .btl-page--cover { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .btl-cell { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .btl-detail-body[hidden] { display: block !important; }
  site-header, site-footer, .btl-focus-header, .btl-progress, .btl-result-actions { display: none !important; }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .btl-profile-layout, .btl-gate, .btl-primary, .btl-two, .btl-hero-inner, .btl-trust, .btl-share-layout { grid-template-columns: 1fr; }
  .btl-questions, .btl-steps { grid-template-columns: 1fr; }
  .btl-accordion { grid-template-columns: 1fr; }
  .btl-hero-grid { justify-self: stretch; max-width: none; }
}
@media (max-width: 720px) {
  .btl-wrap, .btl-banners, .btl-screen, .btl-section, .btl-hero, .btl-cta { padding-left: 16px; padding-right: 16px; }
  .btl-focus-header { min-height: 56px; padding: 0 16px; gap: 10px; }
  .btl-focus-name { display: none; }
  .btl-focus-status { font-size: 12px; }
  .btl-progress { top: 56px; }
  .btl-progress-inner, .btl-continue-panel { padding-left: 16px; padding-right: 16px; }
  .btl-progress .btl-link-button { font-size: 12px; }
  .btl-scale-header { display: none; }
  .btl-legend-strip { position: sticky; top: 118px; z-index: 5; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 8px 0; background: var(--bg-soft); border-bottom: 1px solid var(--border); font-size: 10px; text-align: center; color: var(--grey-600); }
  .btl-legend-strip span { display: grid; }
  .btl-statement { display: block; }
  .btl-statement legend { float: none; }
  .btl-opts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; }
  .btl-opt { min-height: 50px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); }
  .btl-radio { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius-md); background: transparent; }
  .btl-radio:checked { background: var(--red-600); }
  .btl-opt-num { display: block; position: relative; z-index: 1; pointer-events: none; font-size: 17px; font-weight: 700; }
  .btl-opt:has(.btl-radio:checked) .btl-opt-num { color: var(--white); }
  .btl-radio:focus-visible { outline: 2px solid var(--red-600); outline-offset: 3px; }
  .btl-echo { display: block; margin: 8px 0 0; font-size: 13px; font-weight: 700; text-align: center; color: var(--grey-600); }
  .btl-statement:has(.btl-radio:checked) .btl-echo { color: var(--red-700); }
  .btl-nav { position: sticky; bottom: 0; z-index: 10; margin: var(--sp-6) -16px 0; padding: 12px 16px; background: var(--white); border-top: 1px solid var(--border); flex-wrap: wrap; }
  .btl-nav .btl-continue { flex: 1 1 auto; }
  .btl-remaining { flex-basis: 100%; order: -1; font-size: 12px; }
  .btl-foundation-name { font-size: 36px; }
  .btl-gate-row, .btl-meta { grid-template-columns: 1fr; }
  .btl-cell-body, .btl-cell-button { min-height: 96px; padding: 8px; }
  .btl-cell-name { font-size: 13px; }
  .btl-cell-state { font-size: 11px; }
  .btl-cell-plain { display: none; }
  .btl-cell-score { font-size: 10.5px; opacity: .6; top: 6px; right: 8px; }
  .btl-nine { grid-template-columns: 1fr; }
  .btl-parts { display: none; }
  .btl-domain-summary { grid-template-columns: 1fr; }
  .btl-comparison-grids { grid-template-columns: 1fr 1fr; gap: 12px; }
  .btl-page { width: 100%; min-height: 0; padding: 20px; }
  .btl-page-footer { position: static; margin-top: 16px; }
}
@media (max-width: 280px) {
  .btl-grid--result, .btl-grid--result-selected { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .btl-page-shell *, .btl-page-shell *::before, .btl-page-shell *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .btl-page-shell .scroll-reveal, .btl-page-shell .fade-up { opacity: 1 !important; transform: none !important; }
}

@media (forced-colors: active) {
  .btl-cell, .btl-legend-item, .btl-swatch { border: 1px solid CanvasText; forced-color-adjust: none; }
  .btl-cell--selected { outline: 2px solid Highlight; }
  .btl-radio { forced-color-adjust: auto; }
  .btl-banner, .btl-support, .btl-guidance { border: 1px solid CanvasText; }
}
