/* SyX Solutions family tokens (Nov 16 2026). One sheet for syx.solutions, leadbind.ai and highseat.app.
   Base is the SyX Solutions design system (css/syx.css on syx.solutions); each product adds ONE accent.
   Spec and rules: context/syx-design-tokens-2026-11-16.md. Prefix --sx- so no site's own tokens collide. */
:root{
  /* Ground and ink (light) */
  --sx-ground:#efefef; --sx-card:#fafafa; --sx-white:#ffffff;
  --sx-ink:#171717; --sx-ink-2:#262626; --sx-deep:#0a0a0a;
  --sx-mute:#6b6b6b; --sx-mute-2:#a1a1a1;
  --sx-line:#e5e5e5; --sx-line-2:#dcdcdc;
  /* One accent per brand. Use for one thing per view: the main action, a dot, a focus ring. */
  --sx-accent-syx:#f99c00; --sx-accent-syx-ink:#8a5400;
  --sx-accent-lb:#22d3ee;  --sx-accent-lb-ink:#0e7490;
  --sx-accent-hs:#ffb4a8;  --sx-accent-hs-ink:#9a3b2e;
  /* Status colours live inside product screens only, never as decoration. */
  --sx-ok:#16a34a; --sx-warn:#d97706; --sx-bad:#dc2626;
  /* Type */
  --sx-font:'Geist',-apple-system,BlinkMacSystemFont,'SF Pro Text','Helvetica Neue',Arial,sans-serif;
  --sx-mono:'Geist Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  --sx-t-xs:12px; --sx-t-sm:13.5px; --sx-t-md:16px; --sx-t-lg:19px; --sx-t-xl:24px;
  --sx-t-2xl:clamp(28px,3.9vw,50px); --sx-t-display:clamp(40px,6vw,84px);
  --sx-lh-tight:1.05; --sx-lh-body:1.55; --sx-track-tight:-.034em; --sx-track-label:.08em;
  /* Spacing (4 px base, generous at the top end) */
  --sx-s-1:4px; --sx-s-2:8px; --sx-s-3:12px; --sx-s-4:16px; --sx-s-5:24px; --sx-s-6:32px;
  --sx-s-7:48px; --sx-s-8:72px; --sx-s-9:104px; --sx-gutter:clamp(16px,4vw,40px); --sx-max:1200px;
  /* Radius */
  --sx-r-sm:8px; --sx-r-md:12px; --sx-r-lg:20px; --sx-r-xl:28px; --sx-r-pill:999px;
  /* Depth and motion: quiet */
  --sx-shadow-1:0 1px 2px rgba(10,10,10,.04);
  --sx-shadow-2:0 10px 30px -12px rgba(10,10,10,.18),0 2px 6px rgba(10,10,10,.05);
  --sx-ease:cubic-bezier(0.23,1,0.32,1); --sx-fast:160ms; --sx-slow:240ms;
}
/* Dark values. Opt in only, so a light-only site (syx.solutions) never flips by accident:
   set data-sx-theme="dark" on <html>, add class "sx-dark" to any wrapper, or set data-sx-theme="auto" to follow the OS. */
html[data-sx-theme=dark],.sx-dark{
  --sx-ground:#0a0a0a; --sx-card:#141414; --sx-white:#1a1a1a;
  --sx-ink:#fafafa; --sx-ink-2:#e5e5e5; --sx-mute:#a1a1a1; --sx-mute-2:#737373;
  --sx-line:rgba(255,255,255,.10); --sx-line-2:rgba(255,255,255,.16);
}
@media (prefers-color-scheme:dark){html[data-sx-theme=auto]{
  --sx-ground:#0a0a0a; --sx-card:#141414; --sx-white:#1a1a1a;
  --sx-ink:#fafafa; --sx-ink-2:#e5e5e5; --sx-mute:#a1a1a1; --sx-mute-2:#737373;
  --sx-line:rgba(255,255,255,.10); --sx-line-2:rgba(255,255,255,.16);
}}

/* Shared parts */
/* 1. The family row: one line in every footer, same order everywhere. */
.sx-family{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;font:500 var(--sx-t-sm)/1.4 var(--sx-font);color:var(--sx-mute)}
.sx-family-lab{font:500 11px/1 var(--sx-mono);letter-spacing:var(--sx-track-label);text-transform:uppercase;color:var(--sx-mute-2)}
.sx-family a{display:inline-flex;align-items:center;gap:8px;color:inherit;text-decoration:none;transition:color var(--sx-fast) var(--sx-ease)}
.sx-family a:hover{color:var(--sx-ink)}
.sx-dot{width:8px;height:8px;border-radius:var(--sx-r-pill);display:inline-block;flex:none}
.sx-dot-syx{background:var(--sx-accent-syx)} .sx-dot-lb{background:var(--sx-accent-lb)} .sx-dot-hs{background:var(--sx-accent-hs)}
/* 2. Coming soon tag */
.sx-soon{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:var(--sx-r-pill);border:1px solid var(--sx-line-2);font:500 11px/1 var(--sx-mono);letter-spacing:.02em;color:var(--sx-mute);white-space:nowrap;font-style:normal}
/* 3. The quiet working state: one line while the AI works, then the result. No streaming. */
.sx-working{display:inline-flex;align-items:center;gap:10px;padding:8px 14px;border-radius:var(--sx-r-pill);background:var(--sx-card);border:1px solid var(--sx-line);font:500 var(--sx-t-sm)/1.2 var(--sx-font);color:var(--sx-ink)}
.sx-working i{width:8px;height:8px;border-radius:50%;background:var(--sx-accent,var(--sx-accent-syx));animation:sxPulse 1.6s var(--sx-ease) infinite}
.sx-working small{font:400 12px/1 var(--sx-mono);color:var(--sx-mute)}
@keyframes sxPulse{0%,100%{opacity:.35;transform:scale(.85)}50%{opacity:1;transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.sx-working i{animation:none;opacity:1}}
/* 4. The "by SyX Solutions" mark line next to a product name */
.sx-by{font:500 12px/1 var(--sx-mono);letter-spacing:.02em;color:var(--sx-mute);text-decoration:none}
.sx-by:hover{color:var(--sx-ink)}
