/* Segev Studio - brand tokens. Single source of truth for every product.
   Source: outputs/brand/2026-12-01-brand-book.md (rounds 1-4, 2026-12-01).
   Load after fonts:  <link rel="stylesheet" href="fonts/heebo.css"><link rel="stylesheet" href="tokens.css">
   Rule of the brand: fixed = colors, Heebo, logo, frame. Everything else rotates (see brand book, section 6). */

:root{
  /* ---------- color: brand ---------- */
  --c-navy:#1F3A45;        /* primary text on light, primary dark surface */
  --c-cream:#EEE9E2;       /* light surface, text on navy */
  --c-yellow:#F7B631;      /* one accent per view; text only on navy (6.7:1) */
  --c-white:#FFFFFF;       /* card surface */

  /* ---------- color: derived (text and lines) ---------- */
  --c-text-2:#5F6B70;      /* secondary text on light (4.6 on cream, 5.5 on white); also meaningful borders */
  --c-text-2-dark:#A7B4B9; /* secondary text on navy (5.6) */
  --c-line:#CFCFCA;        /* decorative divider on light */
  --c-line-dark:#485D64;   /* decorative divider on navy */
  /* #808080 is NOT a brand color. Never use it. */

  /* ---------- color: status (surface + navy text; dark tone as text on white only) ---------- */
  --c-ok:#2F7D6D;    --c-ok-surface:#D9EDE6;     /* text on white 4.9 */
  --c-warn:#F7B631;  --c-warn-surface:#FCEFD3;   /* never as text on light */
  --c-issue:#B5523B; --c-issue-surface:#F6DDD6;  /* text on white 5.0 */
  --c-ok-text:#24614F;   --c-issue-text:#963F2C;   /* status TEXT on cream (1.12) */
  --c-ok-on-dark:#7CCBB5; --c-issue-on-dark:#F0A08C; /* status text and borders on navy (1.12) */
  /* ONE sign color per status, the same on cream, white and navy (1.12, hers: "the red should not suddenly look different").
     Signs = dot, icon chip, check or cross circle, field border. The glyph inside is always navy. Status words stay in the normal text color. */
  --c-ok-sign:#6BC2AA; --c-warn-sign:#F7B631; --c-issue-sign:#EE8F78; /* green, yellow, peach-red */

  /* ---------- type ---------- */
  --font:'Heebo', Arial, sans-serif;
  --w-thin:200;    /* huge display numbers only (move in rotation, from the site, 1.12) */
  --w-light:300;   /* large sub-lines, and big display headlines as a move in rotation (1.12). Never running text */
  --w-regular:400; /* body */
  --w-medium:500;  /* small labels: context line, footer, tags, buttons */
  --w-bold:700;    /* titles, emphasis */
  --lh-body:1.7;   --lh-title:1.2;

  /* web / guide (mobile first; desktop overrides below) */
  --fs-context:14px; --fs-small:14px; --fs-body:18px; --fs-card-title:22px; --fs-h2:26px; --fs-h1:32px;
  /* slide canvas 1920x1080 */
  --slide-fs-context:24px; --slide-fs-body:36px; --slide-fs-min:28px; --slide-fs-title:64px; --slide-fs-statement:88px;

  /* ---------- space (8pt) ---------- */
  --s-1:8px; --s-2:16px; --s-3:24px; --s-4:32px; --s-5:40px; --s-6:48px; --s-8:64px; --s-12:96px;

  /* ---------- radius ---------- */
  --r-sm:8px;   /* small tags */
  --r-btn:999px; /* buttons are pill-shaped (her choice, 1.12) */
  --r-md:12px;  /* inner surfaces, inputs */
  --r-lg:16px;  /* cards */
  --r-xl:24px;  /* slide cards */
  --r-pill:999px;

  /* ---------- elevation (only on hover / lift) ---------- */
  --shadow-lift:0 20px 40px rgba(31,58,69,.18);
  --shadow-edge:0 1px 2px rgba(31,58,69,.08),0 6px 18px rgba(31,58,69,.07); /* a defined end for every component on light (2.12) */

  /* ---------- motion ---------- */
  --ease-out:cubic-bezier(.2,.7,.2,1);
  --ease-inout:cubic-bezier(.65,0,.35,1);
  --t-fast:.25s; --t-base:.35s; --t-reveal:.55s;
  --hit:44px; /* minimum touch target */

  /* ---------- logo (height-based) ---------- */
  --logo-bar-mobile:16px; --logo-bar-desktop:20px; --logo-slide:24px; --logo-cover:72px; --symbol-agent:32px;
}
@media (min-width:900px){
  :root{ --fs-context:16px; --fs-body:20px; --fs-card-title:24px; --fs-h2:30px; --fs-h1:44px; }
}

/* ---------- live backgrounds (rotate between products). Allowed: dots, grid, corner rings, faded number, and live triangles (live-bg.js: twinkle, corner, links, orbit), and the dot field (dot-field.js). Never waves or contour lines. ---------- */
.bg-dots-dark{background-color:var(--c-navy);background-image:radial-gradient(rgba(238,233,226,.10) 1.2px,transparent 1.2px);background-size:22px 22px}
.bg-dots-light{background-color:var(--c-cream);background-image:radial-gradient(rgba(31,58,69,.10) 1.2px,transparent 1.2px);background-size:22px 22px}
.bg-grid-dark{background-color:var(--c-navy);background-image:linear-gradient(rgba(238,233,226,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(238,233,226,.06) 1px,transparent 1px);background-size:40px 40px}
.bg-grid-light{background-color:var(--c-cream);background-image:linear-gradient(rgba(31,58,69,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(31,58,69,.06) 1px,transparent 1px);background-size:40px 40px}

/* ---------- motion primitives ---------- */
@keyframes ss-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes ss-ring{0%{transform:scale(.6);opacity:.5}100%{transform:scale(1.6);opacity:0}}
@keyframes ss-spark{0%,100%{opacity:0;transform:scale(.4) rotate(0)}40%{opacity:1;transform:scale(1) rotate(45deg)}}
@keyframes ss-wipe{0%{clip-path:inset(0 0 0 100%)}100%{clip-path:inset(0 0 0 0)}}
@keyframes ss-rise{0%{opacity:0;transform:translateY(10px);filter:blur(4px)}100%{opacity:1;transform:none;filter:none}}
.ss-lift{transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;border:2px solid transparent}
.ss-lift:hover{transform:translateY(-5px);border-color:var(--c-yellow);box-shadow:var(--shadow-lift)}
:focus-visible{outline:3px solid var(--c-yellow);outline-offset:2px}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
