/* Build Fiji Platform — prototype styles.
   Small custom layer on top of Tailwind CDN. Colour tokens match
   docs/DESIGN-SYSTEM.md (extracted from sponsor-supplied mockups) —
   do not invent new colours here, extend the tokens below instead. */

:root {
  --bf-navy: #0B1D3A;
  --bf-navy-dark: #071228;
  --bf-blue: #2E7DFF;
  --bf-sunrise: #FFB347;
  --bf-ink: #142236;
  --bf-panel: #FFFFFF;
  --bf-bg: #F7F8FA;
  --bf-line: #E3E7EE;
}

html, body {
  background: var(--bf-bg);
  color: var(--bf-ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.bf-header {
  background: linear-gradient(90deg, var(--bf-navy-dark) 0%, var(--bf-navy) 100%);
  color: #fff;
}
.bf-header a { color: #fff; }

.bf-crest {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bf-sunrise); color: var(--bf-navy-dark);
  font-weight: 800; font-size: 18px;
}

.bf-hero {
  background:
    linear-gradient(160deg, var(--bf-navy-dark) 0%, var(--bf-navy) 55%, #12336B 100%);
}

.bf-btn-primary {
  background: var(--bf-blue); color: #fff;
  font-weight: 700;
}
.bf-btn-primary:hover { filter: brightness(1.08); }

.bf-btn-outline-dark {
  background: var(--bf-navy); color: #fff; font-weight: 600;
}
.bf-btn-outline-dark:hover { filter: brightness(1.15); }

.bf-btn-outline-light {
  background: transparent; color: #fff; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.5);
}
.bf-btn-outline-light:hover { background: rgba(255,255,255,0.1); }

.bf-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
  text-transform: uppercase;
}
.bf-chip-pillar1 { background: #E4EDFF; color: #0B3D91; }
.bf-chip-pillar2 { background: #FFF1DC; color: #9A5B00; }
.bf-chip-pillar3 { background: #E4F5E9; color: #1B6E3C; }

.bf-status {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600;
}
.bf-status-proposed   { background: #F1F1EF; color: #55524A; }
.bf-status-consulting { background: #E4EDFF; color: #0B3D91; }
.bf-status-committed  { background: #FFF1DC; color: #9A5B00; }
.bf-status-progress   { background: #FFF2CC; color: #8A6D00; }
.bf-status-completed  { background: #E4F5E9; color: #1B6E3C; }
.bf-status-delayed    { background: #FDE8E8; color: #A32626; }
.bf-status-unable     { background: #F1E5E5; color: #6B3A3A; }

.bf-demo-strip {
  background: #FFF2CC; color: #6B4E00;
  padding: 6px 12px; text-align: center;
  font-size: 0.78rem; font-weight: 600;
}

.bf-timeline { position: relative; padding-left: 28px; }
.bf-timeline::before {
  content: ""; position: absolute; left: 10px; top: 4px; bottom: 4px;
  width: 2px; background: var(--bf-line);
}
.bf-timeline-item { position: relative; padding-bottom: 24px; }
.bf-timeline-item::before {
  content: ""; position: absolute; left: -22px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bf-sunrise); border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--bf-blue);
}

.bf-side-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 8px;
  color: #334155; text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
}
.bf-side-nav a:hover { background: #EEF2F8; color: var(--bf-navy); }
.bf-side-nav a.on { background: #E4EDFF; color: var(--bf-navy); font-weight: 600; }

.bf-trust-strip {
  background: #EEF2F8;
}
.bf-trust-strip .item { display: flex; align-items: flex-start; gap: 10px; }
.bf-trust-strip .icon { font-size: 1.3rem; line-height: 1; }
.bf-trust-strip .label { font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--bf-navy); }
.bf-trust-strip .desc { font-size: 0.8rem; color: #55607A; }

.bf-tab {
  padding: 8px 16px; border-radius: 8px 8px 0 0;
  font-size: 0.9rem; font-weight: 600; color: #55607A;
  border-bottom: 3px solid transparent;
  cursor: pointer;
}
.bf-tab.on { color: var(--bf-navy); border-color: var(--bf-blue); }

@media print {
  .bf-header, .bf-demo-strip, .no-print { display: none !important; }
}
