/* Copy of be-design-system public/components.css (feature/public-profile). Change it there first, then copy it here. */
/* Binary Elements public sites: marketing pages and product landing pages. Load after public/tokens.css.
   Boxy boxes, pill buttons, one red, IBM Plex. Every value is a token from public/tokens.json. */
.bp { font: 400 1.125rem/1.6 var(--font-sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
.bp *, .bp *::before, .bp *::after { box-sizing: border-box; }
.bp a { color: var(--bright); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.bp a:hover { text-decoration-color: var(--accent); }
.bp :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* type */
.bp-eyebrow { font: 500 .75rem/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bp-display { font: 300 clamp(2.7rem, 3.8vw + .5rem, 4rem)/1.1 var(--font-sans); color: var(--bright); margin: 0; text-wrap: balance; }
.bp-h2 { font: 300 clamp(2.2rem, 3.4vw + .5rem, 3.5rem)/1.2 var(--font-sans); color: var(--bright); margin: 0; text-wrap: balance; }
.bp-h3 { font: 400 clamp(1.4rem, 1.6vw + .5rem, 1.75rem)/1.3 var(--font-sans); color: var(--bright); margin: 0; }
.bp-lead { font: 300 1.25rem/1.55 var(--font-sans); color: var(--ink); max-width: 62ch; margin: 0; }
.bp-small { font-size: .875rem; line-height: 1.5; color: var(--muted); }

/* buttons: one secondary (outline) and one primary (red fill) per view, both pills */
.bp-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-8); font: 500 1rem/1.5 var(--font-sans); padding: 11px 24px; border: 1px solid var(--bright); border-radius: var(--radius-pill); background: transparent; color: var(--bright); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.bp a.bp-btn { text-decoration: none; }
.bp-btn:hover { background: var(--bright); color: var(--bg); }
.bp-btn.primary { background: var(--accent); border-color: var(--accent); color: var(--bright); }
.bp-btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--bright); }
.bp-btn.sm { font-size: .875rem; padding: 7px 16px; }
.bp-btn:disabled { opacity: .5; cursor: default; }
.bp-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .bp-btn { transition: none; } }

/* tag: a short label on a pill, e.g. "See BE AI in action" above a hero */
.bp-tag { display: inline-flex; align-items: center; gap: var(--space-8); font: 400 .875rem/1.4 var(--font-sans); padding: 7px 16px; border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--bright); }

/* fields: flat, boxy, mono eyebrow labels */
.bp-label { display: block; font: 500 .75rem/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--space-8); }
.bp-label small { text-transform: none; letter-spacing: 0; }
.bp-input, .bp-select, .bp-textarea { width: 100%; font: 400 1rem/1.5 var(--font-sans); padding: 11px 13px; border: 1px solid var(--edge); border-radius: var(--radius-box); background: var(--well); color: var(--bright); }
.bp-input::placeholder, .bp-textarea::placeholder { color: var(--muted); }
.bp-input:focus, .bp-select:focus, .bp-textarea:focus { outline: none; border-color: var(--bright); }
.bp-input[aria-invalid="true"] { border-color: var(--bad); }
.bp-hint { font-size: .875rem; color: var(--muted); margin-top: var(--space-6); } .bp-hint.bad { color: var(--bad); }

/* frame: the dashed grid every section sits in */
.bp-frame { border-top: 1px dashed var(--line); }
.bp-frame > .bp-inner { max-width: 1260px; margin: 0 auto; padding: var(--space-96) var(--space-32); border-left: 1px dashed var(--line); border-right: 1px dashed var(--line); }
@media (max-width: 720px) { .bp-frame > .bp-inner { padding: var(--space-48) var(--space-16); border: 0; } }
.bp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1px dashed var(--line); border-left: 1px dashed var(--line); }
.bp-grid > * { padding: var(--space-32); border-right: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }

/* stat: a big number with what it means */
.bp-stats { display: flex; flex-wrap: wrap; border: 1px solid var(--line2); background: var(--panel); }
.bp-stat { flex: 1 1 180px; padding: var(--space-24); display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-32); }
.bp-stat + .bp-stat { border-left: 1px solid var(--line2); }
.bp-stat .v { font: 400 clamp(2.5rem, 3vw + 1rem, 3.5rem)/1 var(--font-mono); color: var(--bright); font-variant-numeric: tabular-nums; }
.bp-stat .l { font-size: .875rem; color: var(--ink); }

/* brand lockup: the red mark and the wordmark (PNG lockup for dark grounds in assets/logos) */
.bp-brand img { display: block; height: 32px; width: auto; }
