/*
 * BeeBrand design tokens — the ONE place the palette, spacing and type live.
 *
 * The panel's look (docs/better_internal_ui.png): a soft blue-white field,
 * frosted-glass cards with generous radii, navy and bright-blue accents, pill
 * controls and light, large numerals. The honey of the bee survives in the
 * brand mark. The marketing site (beebrand.us) links this same file and adds
 * its own coral accent in site.css (docs/web_visual_style.html).
 *
 * The traffic lights are the one place colour carries MEANING, so they are
 * saturated enough to read at a glance and are never the only signal — every
 * light also carries a text label for colour-blind users and screen readers.
 */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/static/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/static/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Neutrals — a cool slate */
  --bb-white: #ffffff;
  --bb-grey-50: #f5f8fc;
  --bb-grey-100: #ebf0f7;
  --bb-grey-200: #dde4ee;
  --bb-grey-400: #9aa6b8;
  --bb-grey-600: #627089;
  --bb-ink: #17223a;

  /* The accent pair: navy for weight, bright blue for action */
  --bb-navy: #1c3765;
  --bb-navy-deep: #13284d;
  --bb-blue-bright: #2f7bf6;
  --bb-blue-glow: rgba(47, 123, 246, .28);

  /* The pastels (tints for cards, badges and chips) */
  --bb-yellow: #fff4d1;
  --bb-honey: #f6b93b;
  --bb-honey-deep: #e09a12;
  --bb-orange: #ffe7d6;
  --bb-purple: #ece7fe;
  --bb-purple-deep: #6a4fd6;
  --bb-blue: #e1ebfd;
  --bb-blue-deep: #2a5fc4;
  --bb-sea: #d9f3ee;
  --bb-sea-deep: #147f70;
  --bb-rose: #fde4e4;
  --bb-rose-deep: #c73a3a;

  /* Traffic lights */
  --bb-green-light: #22b07d;
  --bb-yellow-light: #f0b429;
  --bb-red-light: #ef5b5b;
  --bb-none-light: #c3cbd8;

  /* Glass */
  --bb-glass: rgba(255, 255, 255, .68);
  --bb-glass-strong: rgba(255, 255, 255, .86);
  --bb-glass-edge: rgba(255, 255, 255, .85);
  --bb-blur: blur(18px) saturate(140%);
  --bb-shadow: 0 18px 40px -22px rgba(28, 55, 101, .28), 0 2px 8px -2px rgba(28, 55, 101, .06);
  --bb-shadow-lift: 0 24px 48px -20px rgba(28, 55, 101, .34), 0 4px 12px -4px rgba(28, 55, 101, .08);

  /* Roles */
  --bb-bg: #e9eff8;
  --bb-bg-gradient: radial-gradient(1200px 700px at 12% -10%, #ffffff 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(900px 600px at 100% 0%, #dbe7fb 0%, rgba(219, 231, 251, 0) 65%),
    linear-gradient(160deg, #f3f6fb 0%, #e4ecf8 55%, #dfe7f4 100%);
  --bb-surface: var(--bb-grey-50);
  --bb-line: rgba(28, 55, 101, .09);
  --bb-text: var(--bb-ink);
  --bb-muted: var(--bb-grey-600);
  --bb-accent: var(--bb-navy);
  --bb-accent-ink: var(--bb-white);
  --bb-link: var(--bb-blue-deep);
  --bb-focus: #7fb0ff;
  --bb-danger: var(--bb-red-light);

  /* Type */
  --bb-font: "Plus Jakarta Sans", "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --bb-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --bb-size-xs: 0.75rem;
  --bb-size-sm: 0.875rem;
  --bb-size-md: 0.95rem;
  --bb-size-lg: 1.15rem;
  --bb-size-xl: 1.9rem;
  --bb-size-hero: 3rem;

  /* Space, radius, motion */
  --bb-space-1: 4px;
  --bb-space-2: 8px;
  --bb-space-3: 12px;
  --bb-space-4: 16px;
  --bb-space-5: 24px;
  --bb-space-6: 32px;
  --bb-radius: 22px;
  --bb-radius-md: 16px;
  --bb-radius-sm: 12px;
  --bb-pill: 999px;
  --bb-header-h: 72px;
  --bb-nav-w: 272px;
  --bb-ease: 160ms cubic-bezier(.4, 0, .2, 1);
}
