/* BlockPlanner design tokens. The one place the brand's colours, type and
   spacing are defined for every public site (www, explain, the tools).
   Rules for using them: packages/design/DESIGN.md.

   The look follows the home page (7 Oct 2026): a pale page, white surfaces,
   Blue Gum ink, Eucalypt for quiet emphasis, and the clay accent kept for the
   one action that matters on screen. Sand is not a background. */
:root {
  /* Brand colours (brand/blockplanner/assets) */
  --bp-blue-gum: #494f4a;
  --bp-eucalypt: #6d7a70;
  --bp-eucalypt-dk: #5e6b61;
  --bp-sand: #f8f6e4;
  --bp-clay: #c4622d;
  --bp-clay-dk: #a84f23;

  /* Roles. Use these in components, not the brand names above. */
  --bp-page: #fbfbf8;          /* page background */
  --bp-surface: #ffffff;       /* cards, panels, nav */
  --bp-surface-alt: #f4f5f2;   /* a quiet panel inside a white card */
  --bp-tint: #edf2ed;          /* eucalypt tint: tags, selected rows */
  --bp-line: #e2e2dc;          /* hairlines and section borders */
  --bp-line-strong: #c9ccc6;   /* card borders, inputs */
  --bp-ink: var(--bp-blue-gum);/* headings, dark bands, footer */
  --bp-text: #5a615c;          /* body copy */
  --bp-muted: #6f756f;         /* captions, meta (4.6:1 on white) */
  --bp-quiet: var(--bp-eucalypt);   /* kickers, step numbers, quiet emphasis */
  --bp-accent: var(--bp-clay);      /* primary buttons only */
  --bp-accent-hover: var(--bp-clay-dk);
  --bp-link: var(--bp-clay-dk);     /* text links (5.5:1 on white) */
  --bp-on-dark: #ffffff;
  --bp-on-dark-soft: rgba(255, 255, 255, 0.82);
  --bp-on-dark-accent: var(--bp-sand); /* headline on a dark band */
  --bp-focus: #2f6f9f;

  /* Type */
  --bp-font-heading: "Lexend", "Trebuchet MS", sans-serif;
  --bp-font-body: "Open Sans", Arial, sans-serif;
  --bp-text-xs: 12px;
  --bp-text-sm: 14px;
  --bp-text-md: 16px;
  --bp-text-lg: 18px;
  --bp-h3: 20px;
  --bp-h2: clamp(26px, 3.2vw, 34px);
  --bp-h1: clamp(34px, 5.2vw, 56px);
  --bp-leading: 1.6;

  /* Space, shape, depth */
  --bp-space-1: 4px;
  --bp-space-2: 8px;
  --bp-space-3: 12px;
  --bp-space-4: 16px;
  --bp-space-5: 24px;
  --bp-space-6: 32px;
  --bp-space-7: 48px;
  --bp-space-8: 64px;
  --bp-radius-sm: 3px;
  --bp-radius: 6px;
  --bp-radius-lg: 8px;
  --bp-shadow: 0 1px 2px rgba(73, 79, 74, 0.06), 0 8px 24px rgba(73, 79, 74, 0.06);
  --bp-max: 1040px;
  --bp-max-text: 680px;
  --bp-nav-height: 62px;
}
