/* ============================================================
   BOMEDIA GROUP — Design Tokens (colors + type)
   Source of truth for color and typography. Import this once
   per page; use the variables in your styles or as inline CSS
   custom properties.
   ============================================================ */

/* ── FONTS ────────────────────────────────────────────────── */
/* Outfit (display + UI) — Google Fonts, weights 400→900.        */
/* No local TTFs in this repo; we link directly from Google.     */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&display=swap");

:root {
  /* ── BRAND ACCENTS ─────────────────────────────────────── */
  /* Coral = print / UV technology. Lavanda = laser tech.     */
  --coral:         #e8705a;   /* primary action, print/UV    */
  --coral-light:   #fdf0ed;   /* tinted backgrounds, badges  */
  --coral-dark:    #d4563f;   /* hover/pressed               */

  --lavanda:       #8b7fd4;   /* laser, secondary accent     */
  --lavanda-light: #f0eef9;
  --lavanda-dark:  #7568c0;

  /* ── INK / NEUTRALS ────────────────────────────────────── */
  --ink:           #1e2d4a;   /* primary text & dark sections*/
  --ink-light:     #2a3f66;   /* softened ink                */
  --off-white:     #f8f8f6;   /* alternating section bg      */
  --white:         #ffffff;

  --grey-100:      #f4f4f2;   /* image plates, soft chips    */
  --grey-200:      #e8e8e5;   /* hairline borders            */
  --grey-300:      #d1d1cd;   /* outline buttons, dividers   */
  --grey-400:      #9e9e98;   /* muted text, eyebrows        */
  --grey-500:      #6b6b66;   /* body text                   */

  /* ── SEMANTIC TEXT ─────────────────────────────────────── */
  --fg-1:          var(--ink);        /* headlines           */
  --fg-2:          var(--grey-500);   /* body                */
  --fg-3:          var(--grey-400);   /* eyebrow / meta      */
  --fg-on-dark:    var(--white);
  --fg-on-dark-2:  rgba(255,255,255,0.65);
  --fg-on-dark-3:  rgba(255,255,255,0.35);

  /* ── BACKGROUNDS ───────────────────────────────────────── */
  --bg-page:       var(--white);
  --bg-alt:        var(--off-white);
  --bg-dark:       var(--ink);
  --bg-tint-coral:   var(--coral-light);
  --bg-tint-lavanda: var(--lavanda-light);

  /* ── LINES / BORDERS ───────────────────────────────────── */
  --border-hairline: var(--grey-200);
  --border-strong:   var(--grey-300);
  --border-on-dark:  rgba(255,255,255,0.20);

  /* ── ELEVATION ─────────────────────────────────────────── */
  --shadow-card:    0 8px 32px rgba(30,45,74,0.06);
  --shadow-card-hover: 0 16px 48px rgba(30,45,74,0.10);
  --shadow-hero:    0 28px 72px rgba(30,45,74,0.12);
  --shadow-soft:    0 4px 16px rgba(30,45,74,0.06);

  /* ── RADII ─────────────────────────────────────────────── */
  --r-xs:  4px;     /* tags, micro chips                     */
  --r-sm:  6px;     /* buttons                               */
  --r-md:  10px;    /* intent rows                           */
  --r-lg:  12px;    /* small cards                           */
  --r-xl:  16px;    /* product cards                         */
  --r-2xl: 20px;    /* hero blocks, distributor section      */
  --r-pill: 9999px; /* pill badges                           */

  /* ── SPACING SCALE (also see preview/spacing cards) ────── */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  20px;
  --s-6:  24px;
  --s-8:  32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-14: 56px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;

  --container-max:    1200px;
  --container-narrow:  960px;
  --container-pad:     32px;
  --section-pad-y:     88px;

  /* ── MOTION ────────────────────────────────────────────── */
  --ease-out:    cubic-bezier(.16,1,.3,1);   /* reveal/move-in */
  --ease-std:    ease;                       /* default        */
  --dur-fast:    0.25s;
  --dur-med:     0.35s;
  --dur-reveal:  0.75s;

  /* ── TYPE FAMILIES ─────────────────────────────────────── */
  --font-display: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-body:    "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono:    ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* ── TYPE TOKENS ───────────────────────────────────────── */
  /* H1 — hero headlines                                       */
  --h1-size: 52px;
  --h1-weight: 800;
  --h1-tracking: -2px;
  --h1-leading: 1.08;

  /* H2 — section headings                                     */
  --h2-size: 40px;
  --h2-weight: 800;
  --h2-tracking: -1.2px;
  --h2-leading: 1.12;

  /* H3 — card / sub-section titles                            */
  --h3-size: 22px;
  --h3-weight: 700;
  --h3-tracking: -0.3px;
  --h3-leading: 1.25;

  /* H4 — small cards                                          */
  --h4-size: 16px;
  --h4-weight: 700;
  --h4-tracking: 0;
  --h4-leading: 1.4;

  /* Body                                                       */
  --body-size: 16px;
  --body-leading: 1.75;
  --body-color: var(--grey-500);

  /* Small body / card copy                                     */
  --small-size: 14px;
  --small-leading: 1.65;

  /* Eyebrow — tiny uppercase label                            */
  --eyebrow-size: 10px;
  --eyebrow-weight: 600;
  --eyebrow-tracking: 2.5px;

  /* Label / chip                                              */
  --label-size: 12px;
  --label-weight: 500;
  --label-tracking: 0.4px;
}

/* ── SEMANTIC SELECTORS (optional shortcuts) ───────────────── */
.bm-h1 {
  font-family: var(--font-display);
  font-size: var(--h1-size);
  font-weight: var(--h1-weight);
  letter-spacing: var(--h1-tracking);
  line-height: var(--h1-leading);
  color: var(--fg-1);
}
.bm-h2 {
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: var(--h2-weight);
  letter-spacing: var(--h2-tracking);
  line-height: var(--h2-leading);
  color: var(--fg-1);
}
.bm-h3 {
  font-family: var(--font-display);
  font-size: var(--h3-size);
  font-weight: var(--h3-weight);
  letter-spacing: var(--h3-tracking);
  line-height: var(--h3-leading);
  color: var(--fg-1);
}
.bm-h4 {
  font-family: var(--font-display);
  font-size: var(--h4-size);
  font-weight: var(--h4-weight);
  line-height: var(--h4-leading);
  color: var(--fg-1);
}
.bm-body {
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: var(--body-leading);
  color: var(--body-color);
}
.bm-small {
  font-family: var(--font-body);
  font-size: var(--small-size);
  line-height: var(--small-leading);
  color: var(--body-color);
}
.bm-eyebrow {
  font-family: var(--font-body);
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--fg-3);
}
.bm-label {
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  letter-spacing: var(--label-tracking);
}
