/* CollaBoss · the demos' shared layer · v0.1 · 2026-10-16 (QUEUE 104)
   The three playable demos (daily-brief, content-wizard, sprint-room) were built on rotemavny.com's design system and
   read its token names (--bg, --text, --font-body, --space-*, …) and a few of its bundle classes (.ra-btn*, .grain).
   This one file stands in for that system here: the same names, CollaBoss values (paper, graphite, pencil, petrol;
   Jost), light by default. The product skins inside the demos (the Content Wizard app, the Sprint Room's Material
   palette, the brief's paper) stay their own: a demo shows the real interface. Loaded before each demo's own css. */
:root {
  --paper: #FFFFFF; --margin: #F1F2F3; --graphite: #1C1E21; --pencil: #5A6169; --pencil-light: #AEB4BB; --rule: #D9DCDF;
  --petrol: #2F5866; --petrol-deep: #244652; --mist: #B7CBD0; --limewash: #F6F6F3;
  /* the names the demos read */
  --base: var(--paper);
  --bg: var(--paper); --bg-deep: var(--margin); --surface: var(--paper); --surface-2: var(--margin); --border: var(--rule);
  --text: var(--graphite); --text-muted: var(--pencil); --link: var(--petrol);
  --ra-g-violet: var(--petrol); --ra-cream: var(--paper);
  --surface-tint: linear-gradient(180deg, rgba(28, 30, 33, .035), rgba(28, 30, 33, 0) 60%);
  --elevation-2: 0 18px 48px -20px rgba(28, 30, 33, .28), 0 1px 2px rgba(28, 30, 33, .08);
  --elevation-3: 0 32px 80px -28px rgba(28, 30, 33, .3), 0 2px 6px rgba(28, 30, 33, .1);
  --font-display: "Jost", system-ui, sans-serif; --font-body: "Jost", system-ui, sans-serif; --font-hebrew: "Jost", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --fs-display: clamp(2.75rem, 1.6rem + 4.6vw, 5.25rem); --fs-h1: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem); --fs-h2: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); --fs-h3: 1.25rem;
  --fs-lead: clamp(1.125rem, 1rem + .4vw, 1.375rem); --fs-body: 1.0625rem; --fs-small: .875rem; --fs-mono: .8125rem;
  --lh-head: 1.18; --lh-body: 1.6; --tracking-display: -0.015em; --tracking-mono: .04em;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 128px;
  --radius-sm: 4px; --radius-md: 6px; --radius-lg: 10px; --radius-pill: 999px;
  --ease-out: cubic-bezier(.16, 1, .3, 1); --dur-appear: 520ms; --dur-fast: 180ms; --dur-press: 80ms; --appear-rise: 16px; --appear-stagger: 80ms;
  --head-h: 3.75rem;
  color-scheme: light;
}
/* a demo's own light/dark button (the Sprint Room has one) flips the page: the frame follows in graphite */
:root[data-theme="dark"] {
  --bg: #1C1E21; --bg-deep: #15171A; --surface: #24272B; --surface-2: #2C3035; --border: #3A3F45;
  --text: #F1F2F3; --text-muted: #AEB4BB; --link: #B7CBD0; --ra-cream: #F1F2F3;
  --surface-tint: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0) 60%);
  --elevation-2: 0 18px 48px -20px rgba(0, 0, 0, .6), 0 1px 2px rgba(0, 0, 0, .4);
  --elevation-3: 0 32px 80px -28px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .5);
  color-scheme: dark;
}
@media (prefers-reduced-motion: reduce) { :root { --dur-appear: 1ms; --appear-rise: 0px; --appear-stagger: 0ms; } }

/* ---------- base (what the demos took from the bundle) ---------- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--fs-body)/var(--lh-body) var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-underline-offset: .2em; }
.appear { opacity: 0; transform: translateY(var(--appear-rise)); transition: opacity var(--dur-appear) var(--ease-out), transform var(--dur-appear) var(--ease-out); transition-delay: calc(var(--i, 0) * var(--appear-stagger)); }
.appear.is-in { opacity: 1; transform: none; }
.grain::after { content: none; }   /* no film grain on CollaBoss paper */

/* ---------- buttons: the site's own, plain (graphite fill, graphite outline) ---------- */
.ra-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 20px; border: 0; border-radius: 2px;
  font: 500 15px/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
  -webkit-tap-highlight-color: transparent;
}
.ra-btn--sm { min-height: 44px; padding: 8px 16px; font-size: var(--fs-small); gap: 8px; }
.ra-btn--block { display: flex; width: 100%; }
.ra-btn .arrow { display: inline-block; transition: transform .2s ease; }
.ra-btn:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .ra-btn .arrow { transform: scaleX(-1); }
.ra-btn--t1 { background: var(--graphite); color: var(--paper); }
.ra-btn--t1:hover { background: #000; }
:root[data-theme="dark"] .ra-btn--t1 { background: var(--paper); color: var(--graphite); }
:root[data-theme="dark"] .ra-btn--t1:hover { background: #fff; }
.ra-btn--t2 { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
.ra-btn--t2:hover { box-shadow: inset 0 0 0 1px var(--text); }
.ra-btn:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.ra-btn-wrap { position: relative; display: inline-flex; }
.ra-btn-wrap > .ra-btn--block { flex: 1; }
.ra-mono { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: var(--tracking-mono); }
