/* Janux · Floodlight · tokens v1.3.0 (2026-11-11; v1.3: regular display weight, outward logo arrows). Source of truth: tokens.json + BRAND.md */
:root{
  /* colour */
  --jx-night:#0B100C;          /* background */
  --jx-night-2:#141B15;        /* raised surface */
  --jx-chalk:#C4C0B7;          /* type, solid = what happened */
  --jx-mute:#868D83;           /* secondary text, hairlines */
  --jx-rule:rgba(196,192,183,.18);
  --jx-sodium:#E5A13D;         /* THE ALTERNATIVE only, dashed only */

  /* fonts */
  --jx-font-display:"Archivo","Helvetica Neue",Helvetica,Arial,sans-serif;
  --jx-font-mono:"Iosevka","JetBrains Mono",ui-monospace,Menlo,monospace;

  /* type (1920x1080 slide scale) */
  --jx-headline-xl:60px; --jx-headline-l:52px; --jx-headline-m:38px; --jx-subhead:24px;
  --jx-list:28px; --jx-body:23px; --jx-kicker:16px; --jx-caption:15px; --jx-tag:13px;
  --jx-display-weight:450; --jx-display-stretch:104%; --jx-display-tracking:-.015em;
  --jx-subhead-weight:350; --jx-subhead-stretch:100%;
  --jx-chalk-hover:rgba(196,192,183,.06);
  --jx-story-offset:10%; --jx-story-padding:20px; --jx-story-gap:24px;
  --jx-happened-weight:800;    /* heavy = what happened */

  /* layout */
  --jx-margin-x:120px; --jx-header-top:52px; --jx-footer-bottom:44px; --jx-gutter:30px; --jx-radius:0;

  /* strokes */
  --jx-stroke:2px;
  --jx-dash:9 6;               /* SVG stroke-dasharray for every alternative */

  /* treatment + motion */
  --jx-past-filter:grayscale(1) contrast(1.06) brightness(.96);
  --jx-reveal:filter .6s ease;
}

/* helpers */
.jx-past{filter:var(--jx-past-filter)}
.jx-frame-happened{outline:var(--jx-stroke) solid var(--jx-chalk);outline-offset:0}
/* dashed frame. Quick CSS version (browser picks the dash length). For an exact 9/6 dash,
   draw an SVG <rect> over the media with stroke-dasharray:var(--jx-dash), as the slide template does. */
.jx-frame-could{outline:var(--jx-stroke) dashed var(--jx-sodium);outline-offset:0}
.jx-frame-neutral{outline:1px solid var(--jx-mute);outline-offset:0} /* before a reveal */
.jx-kicker,.jx-caption,.jx-header,.jx-footer{font-family:var(--jx-font-mono);color:var(--jx-mute)}

/* ---- screen scale (v1.1.0): app screens. Phone first; desktop from 1024px. ---- */
:root{
  --jx-ui-margin:20px; --jx-ui-bar-h:52px; --jx-ui-gap:12px; --jx-ui-section:28px;
  --jx-ui-headline:30px; --jx-ui-result:40px; --jx-ui-subhead:19px; --jx-ui-body:16px;
  --jx-ui-mono:12px; --jx-ui-tag:11px; --jx-ui-button:16px;
  --jx-ui-pick-stroke:4px;     /* the user's pick, inset; never the 2px solid frame */
  --jx-ui-touch:44px;
}
@media (min-width:1024px){
  :root{
    --jx-ui-margin:48px; --jx-ui-bar-h:56px; --jx-ui-gap:16px; --jx-ui-section:40px;
    --jx-ui-headline:40px; --jx-ui-result:52px; --jx-ui-subhead:22px; --jx-ui-body:17px;
    --jx-ui-mono:13px; --jx-ui-tag:12px;
  }
}
@media (prefers-reduced-motion:reduce){ :root{ --jx-reveal:none; } }
/* force a scale on a container regardless of viewport (component page previews, phone frame on desktop) */
.jx-scale-phone{
  --jx-ui-margin:20px; --jx-ui-bar-h:52px; --jx-ui-gap:12px; --jx-ui-section:28px;
  --jx-ui-headline:30px; --jx-ui-result:40px; --jx-ui-subhead:19px; --jx-ui-body:16px;
  --jx-ui-mono:12px; --jx-ui-tag:11px;
}
.jx-scale-desktop{
  --jx-ui-margin:48px; --jx-ui-bar-h:56px; --jx-ui-gap:16px; --jx-ui-section:40px;
  --jx-ui-headline:40px; --jx-ui-result:52px; --jx-ui-subhead:22px; --jx-ui-body:17px;
  --jx-ui-mono:13px; --jx-ui-tag:12px;
}
