/* ═══ COLOR FLOW MAP (from design-spec.sections[].bg_context) ═══
 * index.html:
 *   nav        → transparent-on-dark (scrolled: solid #0B2545)
 *   hero       → DARK  (#0B2545)  | text: #F0F9FF (white)
 *   proof-strip→ DARK-ALT (#0F3460) | text: #F0F9FF
 *   platform-overview → WHITE (#FFFFFF) | text: #0B2545
 *   bbb-mechanism → SCIENCE (#E0F2FE) | text: #0B2545
 *   research-signal → LIGHT (#F8FAFB) | text: #0B2545
 *   partnership-cta → DARK (#0B2545) | text: #F0F9FF
 *   footer     → DARK (#0B2545) | text: #BAE6FD/#F0F9FF
 *
 * platform/index.html (light-top):
 *   nav        → SOLID #0B2545 (forced for light-top)
 *   page-hero  → LIGHT (#F8FAFB) | text: #0B2545
 *   cards      → WHITE | text: #0B2545
 *   footer     → DARK (#0B2545) | text: muted
 *
 * All other sub-pages: light-top → nav solid #0B2545, dark logo-light
 *
 * NAV RULE:
 *   dark-top (index.html): transparent at scroll=0, white text/logo-light
 *   light-top (all others): solid #0B2545, white text/logo-light
 *   Scrolled state (all): solid #0B2545, white text/logo-light
 *
 * ADJACENT DARK→DARK: hero (dark) → proof-strip (dark-alt) → separator via bg color difference
 * ═══════════════════════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand palette */
  --bpt-navy:          #0B2545;
  --bpt-navy-alt:      #0F3460;
  --bpt-teal:          #0D9488;
  --bpt-teal-light:    #14B8A6;
  --bpt-teal-aa-light: #0F766E;
  --bpt-teal-aa-dark:  #5EEAD4;

  /* Foreground tokens */
  --bpt-fg-dark-primary:   #F0F9FF;
  --bpt-fg-dark-secondary: #BAE6FD;
  --bpt-fg-dark-muted:     #7DD3FC;
  --bpt-fg-light-primary:  #0B2545;
  --bpt-fg-light-secondary:#3D5A80;
  --bpt-fg-light-muted:    #6B7280;

  /* Background tokens */
  --bpt-bg-dark:    #0B2545;
  --bpt-bg-dark-alt:#0F3460;
  --bpt-bg-white:   #FFFFFF;
  --bpt-bg-light:   #F8FAFB;
  --bpt-bg-cream:   #EFF6FF;
  --bpt-bg-science: #E0F2FE;

  /* Typography */
  --bpt-font-base: 'Inter', system-ui, -apple-system, sans-serif;
  --bpt-font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  /* Spacing */
  --bpt-section-pad: clamp(64px, 8vw, 112px);
  --bpt-container:   1200px;
  --bpt-gap:         32px;

  /* Border radius */
  --bpt-r-sm: 6px;
  --bpt-r-md: 12px;
  --bpt-r-lg: 20px;

  /* Transitions */
  --bpt-transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--bpt-font-base);
  font-size: 16px;
  line-height: 1.7;
  color: var(--bpt-fg-light-primary);
  background: var(--bpt-bg-white);
  -webkit-font-smoothing: antialiased;
}

/* dark-top body: body bg must match hero so transparent nav works */
body.bpt-page--dark-top {
  background: var(--bpt-bg-dark);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--bpt-font-base);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p { line-height: 1.75; }

/* ── Container ───────────────────────────────────────────── */
.bpt-container {
  max-width: var(--bpt-container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

/* ── Eyebrow Label ───────────────────────────────────────── */
.bpt-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Context-scoped eyebrow colors */
.bpt-section--dark .bpt-eyebrow,
.bpt-section--dark-alt .bpt-eyebrow,
.bpt-section--cta .bpt-eyebrow,
.bpt-footer .bpt-eyebrow { color: var(--bpt-teal-aa-dark); }

.bpt-section--white .bpt-eyebrow,
.bpt-section--light .bpt-eyebrow,
.bpt-section--science .bpt-eyebrow,
.bpt-section--cream .bpt-eyebrow { color: var(--bpt-teal-aa-light); }

/* ══════════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════════ */
.bpt-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--bpt-transition), box-shadow var(--bpt-transition);
}

/* dark-top: transparent at scroll=0 → nav sits over dark hero */
body.bpt-page--dark-top .bpt-nav {
  background: transparent;
}

/* light-top: always solid navy */
body.bpt-page--light-top .bpt-nav {
  background: var(--bpt-navy);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}

/* scrolled solid state (JS adds .bpt-nav--scrolled) */
.bpt-nav--scrolled {
  background: var(--bpt-navy) !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25) !important;
}

.bpt-nav__inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
  padding: 0 clamp(20px, 5vw, 48px);
  max-width: 1280px;
  margin: 0 auto;
}

.bpt-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.bpt-nav__logo img {
  height: 32px;
  width: auto;
  max-width: 180px;
}

.bpt-nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin-left: auto;
}

.bpt-nav__link {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bpt-fg-dark-secondary);
  border-radius: var(--bpt-r-sm);
  transition: color var(--bpt-transition), background var(--bpt-transition);
}

.bpt-nav__link:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.bpt-nav__cta {
  margin-left: 8px;
  padding: 9px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--bpt-teal);
  border-radius: var(--bpt-r-sm);
  transition: background var(--bpt-transition), transform var(--bpt-transition);
  white-space: nowrap;
}

.bpt-nav__cta:hover {
  background: var(--bpt-teal-aa-light);
  transform: translateY(-1px);
}

/* Mobile hamburger */
.bpt-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.bpt-nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--bpt-transition), opacity var(--bpt-transition);
}

.bpt-nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.bpt-nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bpt-nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.bpt-nav__mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--bpt-navy);
  padding: 20px clamp(20px, 5vw, 48px) 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 999;
}

.bpt-nav__mobile-menu.is-open { display: block; }

.bpt-nav__mobile-menu .bpt-nav__link {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.bpt-nav__mobile-menu .bpt-nav__cta {
  display: inline-block;
  margin-top: 16px;
}

/* ══════════════════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════════════════ */
.bpt-section--dark {
  background: var(--bpt-bg-dark);
  color: var(--bpt-fg-dark-primary);
}

.bpt-section--dark-alt {
  background: var(--bpt-bg-dark-alt);
  color: var(--bpt-fg-dark-primary);
}

.bpt-section--white {
  background: var(--bpt-bg-white);
  color: var(--bpt-fg-light-primary);
}

.bpt-section--light {
  background: var(--bpt-bg-light);
  color: var(--bpt-fg-light-primary);
}

.bpt-section--science {
  background: var(--bpt-bg-science);
  color: var(--bpt-fg-light-primary);
}

.bpt-section--cream {
  background: var(--bpt-bg-cream);
  color: var(--bpt-fg-light-primary);
}

/* ══════════════════════════════════════════════════════════
   HERO — INDEX (DARK, FULL-BLEED RASTER)
══════════════════════════════════════════════════════════ */
.bpt-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bpt-bg-dark);
  overflow: hidden;
}

.bpt-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bpt-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.7;
}

.bpt-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,37,69,0.92) 0%, rgba(11,37,69,0.6) 60%, rgba(13,148,136,0.2) 100%);
  z-index: 1;
}

.bpt-hero__inner {
  position: relative;
  z-index: 2;
  padding: calc(64px + 80px) clamp(20px, 5vw, 48px) 120px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.bpt-hero__content {
  max-width: 720px;
}

.bpt-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(94,234,212,0.12);
  border: 1px solid rgba(94,234,212,0.25);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bpt-teal-aa-dark);
  margin-bottom: 24px;
}

.bpt-hero__h1 {
  color: var(--bpt-fg-dark-primary);
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
}

.bpt-hero__h1 span {
  color: var(--bpt-teal-aa-dark);
}

.bpt-hero__subhead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--bpt-fg-dark-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 40px;
}

.bpt-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* ══════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════ */
.bpt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--bpt-font-base);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--bpt-r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--bpt-transition);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

/* Primary: works on any bg */
.bpt-btn--primary {
  background: var(--bpt-teal);
  color: #fff;
  border-color: var(--bpt-teal);
}
.bpt-btn--primary:hover {
  background: #0a7c71;
  border-color: #0a7c71;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(13,148,136,0.35);
}

/* Outline on dark bg */
.bpt-btn--outline-dark {
  background: transparent;
  color: var(--bpt-fg-dark-primary);
  border-color: rgba(240,249,255,0.45);
}
.bpt-btn--outline-dark:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(240,249,255,0.7);
}

/* Ghost on light bg */
.bpt-btn--ghost-light {
  background: transparent;
  color: var(--bpt-teal-aa-light);
  border-color: var(--bpt-teal-aa-light);
}
.bpt-btn--ghost-light:hover {
  background: rgba(15,118,110,0.06);
  transform: translateY(-1px);
}

/* Small */
.bpt-btn--sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

/* ══════════════════════════════════════════════════════════
   PROOF STRIP (dark-alt, 3-stat)
══════════════════════════════════════════════════════════ */
.bpt-proof-strip {
  padding: 48px 0;
}

.bpt-proof-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--bpt-r-md);
  overflow: hidden;
}

.bpt-proof-strip__item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px 36px;
  background: var(--bpt-bg-dark-alt);
}

.bpt-proof-strip__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(94,234,212,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--bpt-teal-aa-dark);
}

.bpt-proof-strip__stat {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--bpt-fg-dark-primary);
  font-family: var(--bpt-font-mono);
  line-height: 1.1;
}

.bpt-proof-strip__label {
  font-size: 0.8rem;
  color: var(--bpt-fg-dark-muted);
  line-height: 1.45;
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════
   PLATFORM OVERVIEW (white)
══════════════════════════════════════════════════════════ */
.bpt-platform-overview {
  padding: var(--bpt-section-pad) 0;
}

.bpt-platform-overview__header {
  max-width: 680px;
  margin-bottom: 56px;
}

.bpt-platform-overview__lead {
  font-size: 1.0625rem;
  color: var(--bpt-fg-light-secondary);
  line-height: 1.75;
  margin-top: 16px;
}

.bpt-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.bpt-feature-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--bpt-bg-light);
  border-radius: var(--bpt-r-md);
  border: 1px solid rgba(11,37,69,0.06);
  transition: border-color var(--bpt-transition), box-shadow var(--bpt-transition);
}

.bpt-feature-card:hover {
  border-color: rgba(13,148,136,0.2);
  box-shadow: 0 4px 24px rgba(11,37,69,0.06);
}

.bpt-feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--bpt-r-sm);
  background: rgba(14,184,166,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
  color: var(--bpt-teal-aa-light);
}

.bpt-feature-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--bpt-fg-light-primary);
  margin-bottom: 6px;
}

.bpt-feature-card__desc {
  font-size: 0.9rem;
  color: var(--bpt-fg-light-secondary);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   BBB MECHANISM (science bg, inline SVG)
══════════════════════════════════════════════════════════ */
.bpt-bbb-section {
  padding: var(--bpt-section-pad) 0;
}

.bpt-bbb-section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.bpt-bbb-section__subhead {
  font-size: 1.0625rem;
  color: var(--bpt-fg-light-secondary);
  margin-top: 12px;
}

.bpt-bbb-diagram {
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--bpt-r-lg);
  padding: 40px 32px;
  box-shadow: 0 2px 24px rgba(11,37,69,0.08);
  overflow-x: auto;
}

/* ══════════════════════════════════════════════════════════
   RESEARCH SIGNAL / PUBLICATIONS TEASER
══════════════════════════════════════════════════════════ */
.bpt-research-signal {
  padding: var(--bpt-section-pad) 0;
}

.bpt-research-signal__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.bpt-research-signal__intro {
  font-size: 1.0625rem;
  color: var(--bpt-fg-light-secondary);
  max-width: 520px;
  margin-top: 12px;
}

.bpt-pub-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.bpt-pub-item {
  display: flex;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bpt-bg-white);
  border-radius: var(--bpt-r-md);
  border-left: 3px solid var(--bpt-teal);
  box-shadow: 0 1px 8px rgba(11,37,69,0.05);
}

.bpt-pub-item__badge {
  flex-shrink: 0;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
}

.bpt-pub-item__badge--preprint {
  background: rgba(13,148,136,0.1);
  color: var(--bpt-teal-aa-light);
}

.bpt-pub-item__badge--conference {
  background: rgba(61,90,128,0.1);
  color: var(--bpt-fg-light-secondary);
}

.bpt-pub-item__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--bpt-fg-light-primary);
  line-height: 1.45;
}

.bpt-pub-item__meta {
  font-size: 0.8125rem;
  color: var(--bpt-fg-light-muted);
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════
   PARTNERSHIP CTA (dark)
══════════════════════════════════════════════════════════ */
.bpt-cta-section {
  padding: var(--bpt-section-pad) 0;
}

.bpt-cta-section__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.bpt-cta-section h2 {
  color: var(--bpt-fg-dark-primary);
  margin-bottom: 16px;
}

.bpt-cta-section p {
  color: var(--bpt-fg-dark-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* ══════════════════════════════════════════════════════════
   SUB-PAGE HERO (light-top)
══════════════════════════════════════════════════════════ */
.bpt-subhero {
  padding: calc(64px + 72px) 0 64px;
  background: var(--bpt-bg-light);
}

.bpt-subhero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.bpt-subhero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.bpt-subhero__content {
  max-width: 600px;
}

.bpt-subhero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bpt-teal-aa-light);
  margin-bottom: 14px;
}

.bpt-subhero h1 {
  color: var(--bpt-fg-light-primary);
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

.bpt-subhero__lede {
  font-size: 1.0625rem;
  color: var(--bpt-fg-light-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.bpt-subhero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Compact sub-hero (single column) */
.bpt-subhero--compact .bpt-subhero__layout {
  grid-template-columns: 1fr;
}

.bpt-subhero--compact .bpt-subhero__content {
  max-width: 800px;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.bpt-footer {
  background: var(--bpt-bg-dark);
  color: var(--bpt-fg-dark-secondary);
  padding: 64px 0 0;
}

.bpt-footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.bpt-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bpt-footer__logo img {
  height: 28px;
  width: auto;
}

.bpt-footer__tagline {
  font-size: 0.875rem;
  color: var(--bpt-fg-dark-muted);
  line-height: 1.6;
  max-width: 260px;
}

.bpt-footer__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.bpt-footer__col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bpt-fg-dark-primary);
  margin-bottom: 16px;
}

.bpt-footer__col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bpt-footer__col-link {
  font-size: 0.875rem;
  color: var(--bpt-fg-dark-muted);
  transition: color var(--bpt-transition);
}

.bpt-footer__col-link:hover {
  color: var(--bpt-fg-dark-primary);
}

.bpt-footer__bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.bpt-footer__copy {
  font-size: 0.8125rem;
  color: var(--bpt-fg-dark-muted);
}

.bpt-footer__cookie-link {
  font-size: 0.8125rem;
  color: var(--bpt-fg-dark-muted);
  transition: color var(--bpt-transition);
  cursor: pointer;
}

.bpt-footer__cookie-link:hover { color: var(--bpt-fg-dark-primary); }

/* ══════════════════════════════════════════════════════════
   COOKIE BANNER
══════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: var(--bpt-navy);
  border-top: 1px solid rgba(94,234,212,0.15);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--bpt-container);
  margin: 0 auto;
  padding: 16px clamp(20px, 5vw, 48px);
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-size: 0.875rem;
  color: var(--bpt-fg-dark-secondary);
  flex: 1;
  min-width: 240px;
}

.cookie-banner__text a {
  color: var(--bpt-teal-aa-dark);
  text-decoration: underline;
}

.cookie-banner__btn {
  padding: 9px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--bpt-r-sm);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--bpt-font-base);
}

.cookie-banner__btn--primary {
  background: var(--bpt-teal);
  color: #fff;
  transition: background var(--bpt-transition);
}

.cookie-banner__btn--primary:hover { background: #0a7c71; }

/* ══════════════════════════════════════════════════════════
   LEGAL PAGES
══════════════════════════════════════════════════════════ */
.bpt-legal-page {
  padding: calc(64px + 56px) 0 80px;
  background: var(--bpt-bg-white);
  min-height: 100vh;
}

.bpt-legal-page .bpt-container {
  max-width: 800px;
}

.legal-article {
  color: var(--bpt-fg-light-primary);
}

.legal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--bpt-bg-science);
}

.legal-header h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--bpt-fg-light-primary);
  margin-bottom: 12px;
}

.legal-meta {
  font-size: 0.875rem;
  color: var(--bpt-fg-light-muted);
}

.legal-article section {
  margin-bottom: 40px;
}

.legal-article h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bpt-fg-light-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--bpt-bg-science);
}

.legal-article h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--bpt-fg-light-secondary);
  margin: 16px 0 8px;
}

.legal-article p {
  color: var(--bpt-fg-light-secondary);
  margin-bottom: 12px;
  line-height: 1.75;
}

.legal-article ul {
  margin: 8px 0 12px 20px;
}

.legal-article ul li {
  color: var(--bpt-fg-light-secondary);
  margin-bottom: 6px;
  line-height: 1.7;
}

.legal-article address {
  font-style: normal;
  color: var(--bpt-fg-light-secondary);
  line-height: 1.8;
  padding: 16px 20px;
  background: var(--bpt-bg-light);
  border-radius: var(--bpt-r-sm);
  border-left: 3px solid var(--bpt-teal);
}

.legal-article a {
  color: var(--bpt-teal-aa-light);
  text-decoration: underline;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.875rem;
}

.legal-table th,
.legal-table td {
  padding: 10px 14px;
  text-align: left;
  border: 1px solid rgba(11,37,69,0.1);
  color: var(--bpt-fg-light-secondary);
}

.legal-table th {
  background: var(--bpt-bg-light);
  font-weight: 600;
  color: var(--bpt-fg-light-primary);
}

/* ══════════════════════════════════════════════════════════
   DATA TABLES (characterization / comparison)
══════════════════════════════════════════════════════════ */
.bpt-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 24px 0;
  border-radius: var(--bpt-r-md);
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(11,37,69,0.06);
}

.bpt-data-table thead tr {
  background: var(--bpt-navy);
  color: var(--bpt-fg-dark-primary);
}

.bpt-data-table th {
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.8125rem;
  text-align: left;
  letter-spacing: 0.02em;
}

.bpt-data-table tbody tr {
  background: var(--bpt-bg-white);
  border-bottom: 1px solid rgba(11,37,69,0.06);
}

.bpt-data-table tbody tr:nth-child(even) {
  background: var(--bpt-bg-light);
}

.bpt-data-table td {
  padding: 12px 16px;
  color: var(--bpt-fg-light-primary);
  vertical-align: middle;
}

.bpt-data-table td.mono {
  font-family: var(--bpt-font-mono);
  font-size: 0.8125rem;
  color: var(--bpt-teal-aa-light);
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════
   TEAM PAGE
══════════════════════════════════════════════════════════ */
.bpt-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.bpt-team-card {
  background: var(--bpt-bg-light);
  border-radius: var(--bpt-r-lg);
  overflow: hidden;
  border: 1px solid rgba(11,37,69,0.06);
  transition: box-shadow var(--bpt-transition), transform var(--bpt-transition);
}

.bpt-team-card:hover {
  box-shadow: 0 8px 32px rgba(11,37,69,0.1);
  transform: translateY(-2px);
}

.bpt-team-card__portrait {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.bpt-team-card__portrait img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  aspect-ratio: 4/5;
}

.bpt-team-card__info {
  padding: 20px 24px 24px;
}

.bpt-team-card__name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--bpt-fg-light-primary);
  margin-bottom: 4px;
}

.bpt-team-card__title,
.bpt-team-card__role {
  font-size: 0.875rem;
  color: var(--bpt-teal-aa-light);
  font-weight: 500;
  margin-bottom: 12px;
  display: block;
}

.bpt-team-card__bio {
  font-size: 0.875rem;
  color: var(--bpt-fg-light-secondary);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════════════════════ */
.bpt-contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}

.bpt-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bpt-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bpt-form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bpt-fg-light-primary);
}

.bpt-form-group input,
.bpt-form-group select,
.bpt-form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid rgba(11,37,69,0.15);
  border-radius: var(--bpt-r-sm);
  font-family: var(--bpt-font-base);
  font-size: 0.9375rem;
  color: var(--bpt-fg-light-primary);
  background: var(--bpt-bg-white);
  transition: border-color var(--bpt-transition), box-shadow var(--bpt-transition);
  max-width: 100%;
  width: 100%;
}

.bpt-form-group input:focus,
.bpt-form-group select:focus,
.bpt-form-group textarea:focus {
  outline: none;
  border-color: var(--bpt-teal);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.12);
}

.bpt-form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.bpt-contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bpt-contact-info__card {
  padding: 24px;
  background: var(--bpt-bg-light);
  border-radius: var(--bpt-r-md);
  border: 1px solid rgba(11,37,69,0.06);
}

.bpt-contact-info__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bpt-teal-aa-light);
  margin-bottom: 8px;
}

.bpt-contact-info__value {
  font-size: 0.9rem;
  color: var(--bpt-fg-light-primary);
  line-height: 1.6;
}

.bpt-contact-info__value a {
  color: var(--bpt-teal-aa-light);
}

/* ══════════════════════════════════════════════════════════
   GENERAL PAGE SECTION STYLES
══════════════════════════════════════════════════════════ */
.bpt-page-section {
  padding: var(--bpt-section-pad) 0;
}

.bpt-section-header {
  margin-bottom: 48px;
}

.bpt-section-header--center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

.bpt-section-header h2 {
  color: var(--bpt-fg-light-primary);
}

.bpt-section-header p {
  font-size: 1.0625rem;
  color: var(--bpt-fg-light-secondary);
  margin-top: 12px;
}

/* On dark sections */
.bpt-section--dark .bpt-section-header h2,
.bpt-section--dark-alt .bpt-section-header h2,
.bpt-section--cta .bpt-section-header h2 { color: var(--bpt-fg-dark-primary); }

.bpt-section--dark .bpt-section-header p,
.bpt-section--dark-alt .bpt-section-header p { color: var(--bpt-fg-dark-secondary); }

/* ══════════════════════════════════════════════════════════
   RESEARCH PAGE — Areas
══════════════════════════════════════════════════════════ */
.bpt-research-areas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.bpt-research-area-card {
  padding: 28px;
  background: var(--bpt-bg-white);
  border-radius: var(--bpt-r-md);
  border: 1px solid rgba(11,37,69,0.07);
  border-top: 3px solid var(--bpt-teal);
}

.bpt-research-area-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--bpt-fg-light-primary);
  margin-bottom: 8px;
}

.bpt-research-area-card p {
  font-size: 0.875rem;
  color: var(--bpt-fg-light-secondary);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════
   PLATFORM HUB CARDS
══════════════════════════════════════════════════════════ */
.bpt-platform-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.bpt-platform-card {
  display: block;
  padding: 36px 28px;
  background: var(--bpt-bg-white);
  border-radius: var(--bpt-r-lg);
  border: 1px solid rgba(11,37,69,0.07);
  text-decoration: none;
  transition: border-color var(--bpt-transition), box-shadow var(--bpt-transition), transform var(--bpt-transition);
}

.bpt-platform-card:hover {
  border-color: var(--bpt-teal);
  box-shadow: 0 8px 32px rgba(13,148,136,0.12);
  transform: translateY(-3px);
}

.bpt-platform-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--bpt-r-md);
  background: rgba(14,184,166,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  color: var(--bpt-teal-aa-light);
  margin-bottom: 20px;
}

.bpt-platform-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--bpt-fg-light-primary);
  margin-bottom: 10px;
}

.bpt-platform-card__desc {
  font-size: 0.875rem;
  color: var(--bpt-fg-light-secondary);
  line-height: 1.65;
}

.bpt-platform-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bpt-teal-aa-light);
}

/* ══════════════════════════════════════════════════════════
   PUBLICATIONS LIST
══════════════════════════════════════════════════════════ */
.bpt-pub-full-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bpt-pub-entry {
  padding: 24px 28px;
  background: var(--bpt-bg-white);
  border-radius: var(--bpt-r-md);
  border: 1px solid rgba(11,37,69,0.07);
  border-left: 4px solid var(--bpt-teal);
}

.bpt-pub-entry__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.bpt-pub-entry__type-badge {
  flex-shrink: 0;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
  margin-top: 2px;
}

.bpt-pub-entry__type-badge--preprint {
  background: rgba(13,148,136,0.1);
  color: var(--bpt-teal-aa-light);
}

.bpt-pub-entry__type-badge--poster {
  background: rgba(61,90,128,0.1);
  color: var(--bpt-fg-light-secondary);
}

.bpt-pub-entry__type-badge--seminar {
  background: rgba(11,37,69,0.08);
  color: var(--bpt-fg-light-secondary);
}

.bpt-pub-entry__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--bpt-fg-light-primary);
  line-height: 1.45;
}

.bpt-pub-entry__authors {
  font-size: 0.8125rem;
  color: var(--bpt-fg-light-secondary);
  margin-bottom: 4px;
}

.bpt-pub-entry__venue {
  font-size: 0.8125rem;
  color: var(--bpt-fg-light-muted);
  font-style: italic;
}

.bpt-pub-disclaimer {
  padding: 16px 20px;
  background: rgba(224,242,254,0.6);
  border-radius: var(--bpt-r-sm);
  border: 1px solid rgba(13,148,136,0.15);
  font-size: 0.875rem;
  color: var(--bpt-fg-light-secondary);
  margin-bottom: 36px;
}

/* ══════════════════════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════════════════════ */
.bpt-about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.bpt-about-scene img {
  width: 100%;
  height: auto;
  border-radius: var(--bpt-r-lg);
  object-fit: cover;
}

.bpt-mission-section {
  text-align: center;
  padding: var(--bpt-section-pad) 0;
}

.bpt-mission-section__inner {
  max-width: 640px;
  margin: 0 auto;
}

.bpt-mission-quote {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--bpt-fg-light-primary);
  line-height: 1.5;
  border-left: none;
  position: relative;
  padding: 32px 40px;
  background: var(--bpt-bg-white);
  border-radius: var(--bpt-r-lg);
  box-shadow: 0 2px 16px rgba(11,37,69,0.06);
}

.bpt-mission-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--bpt-teal);
  line-height: 1;
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: Georgia, serif;
  opacity: 0.4;
}

/* ══════════════════════════════════════════════════════════
   FADE-IN ANIMATIONS
══════════════════════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* Failsafe: force visible after 1.2s */
@keyframes bpt-reveal {
  to { opacity: 1; transform: none; }
}
.fade-in {
  animation: bpt-reveal 0.55s ease 1.2s forwards;
}

/* ══════════════════════════════════════════════════════════
   CTA STRIP (small, for sub-pages)
══════════════════════════════════════════════════════════ */
.bpt-cta-strip {
  padding: 48px 0;
  background: var(--bpt-navy);
}

.bpt-cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.bpt-cta-strip h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bpt-fg-dark-primary);
}

.bpt-cta-strip p {
  font-size: 0.9375rem;
  color: var(--bpt-fg-dark-secondary);
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════
   CONTACT PAGE — NEW FORM PATTERN
══════════════════════════════════════════════════════════ */
.bpt-contact-form-col { flex: 1; }
.bpt-contact-info-col { width: 380px; flex-shrink: 0; }

.bpt-contact-form-wrapper {
  background: var(--bpt-bg-light);
  border-radius: var(--bpt-r-lg);
  padding: 36px;
  border: 1px solid rgba(11,37,69,0.07);
}

/* Override bpt-contact-layout to allow flex for 2-col */
.bpt-contact-layout {
  display: flex;
  align-items: flex-start;
  gap: 56px;
}

.bpt-form { display: flex; flex-direction: column; gap: 18px; }

.bpt-form__row { display: flex; flex-direction: column; gap: 0; }

.bpt-form__row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bpt-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bpt-form__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bpt-fg-light-primary);
}

.bpt-form__input {
  padding: 11px 14px;
  border: 1.5px solid rgba(11,37,69,0.15);
  border-radius: var(--bpt-r-sm);
  font-family: var(--bpt-font-base);
  font-size: 0.9375rem;
  color: var(--bpt-fg-light-primary);
  background: var(--bpt-bg-white);
  transition: border-color var(--bpt-transition), box-shadow var(--bpt-transition);
  width: 100%;
  max-width: 100%;
}

.bpt-form__input:focus {
  outline: none;
  border-color: var(--bpt-teal);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.12);
}

.bpt-form__textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.bpt-contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.bpt-contact-info__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(14,184,166,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--bpt-teal-aa-light);
  font-size: 0.9rem;
}

.bpt-contact-info__divider {
  height: 1px;
  background: rgba(11,37,69,0.08);
  margin: 8px 0;
}

/* ══════════════════════════════════════════════════════════
   LEGAL MAIN WRAPPER (used in legal pages instead of .bpt-legal-page)
══════════════════════════════════════════════════════════ */
.bpt-legal-main {
  padding: calc(64px + 56px) 0 80px;
  background: var(--bpt-bg-white);
  min-height: 100vh;
}

.bpt-legal-container {
  max-width: 820px;
}

/* ══════════════════════════════════════════════════════════
   BLOG HERO (list page)
══════════════════════════════════════════════════════════ */
.bpt-blog-hero {
  padding: calc(64px + 56px) 0 40px;
  background: var(--bpt-bg-light);
  border-bottom: 1px solid rgba(11,37,69,0.06);
}

/* ══════════════════════════════════════════════════════════
   ACCESSIBILITY UTILITIES
══════════════════════════════════════════════════════════ */
.bpt-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .bpt-proof-strip__grid { grid-template-columns: 1fr; gap: 1px; }
  .bpt-feature-grid { grid-template-columns: 1fr; }
  .bpt-about-split { grid-template-columns: 1fr; }
  .bpt-platform-cards { grid-template-columns: 1fr 1fr; }
  .bpt-contact-layout { flex-direction: column; }
  .bpt-contact-info-col { width: 100%; }
  .bpt-subhero__layout { grid-template-columns: 1fr; gap: 32px; }
  .bpt-subhero__visual { display: none; }
}

@media (max-width: 768px) {
  .bpt-nav__links,
  .bpt-nav__cta { display: none; }
  .bpt-nav__hamburger { display: flex; }
  .bpt-team-grid { grid-template-columns: 1fr; }
  .bpt-platform-cards { grid-template-columns: 1fr; }
  .bpt-research-areas { grid-template-columns: 1fr; }
  .bpt-footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .bpt-footer__columns { grid-template-columns: 1fr 1fr; }
  .bpt-proof-strip__item { padding: 24px 20px; }
  .bpt-platform-overview .bpt-feature-grid { grid-template-columns: 1fr; }
  .bpt-cta-strip__inner { flex-direction: column; text-align: center; }
  .bpt-form__row--2col { grid-template-columns: 1fr; }
  .bpt-contact-form-wrapper { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .bpt-hero__actions { flex-direction: column; align-items: flex-start; }
  .bpt-footer__columns { grid-template-columns: 1fr; }
  .bpt-footer__bottom { flex-direction: column; text-align: center; }
}
