/* eLearning Jon brand tokens 1.0.0 (2026-11-19), direction "Highlighter".
   Generated by brand/build.mjs from brand/tokens.json. Do not edit by hand.
   Light is the default. Dark follows the reader's system setting; force either with <html data-theme="light|dark">.
   Every text and background pair meant for use is in contrast.md with its WCAG ratio. */

:root {
  color-scheme: light dark;

  /* palette: the raw colors. Prefer the role tokens below. */
  --ej-c-white: #FFFFFF;
  --ej-c-paper: #FAF7FF;
  --ej-c-paper-2: #F1EBFF;
  --ej-c-paper-3: #E4DAFC;
  --ej-c-lilac: #B9A6FF;
  --ej-c-violet: #7C4DFF;
  --ej-c-violet-2: #5F2EEA;
  --ej-c-violet-3: #4A1FC4;
  --ej-c-ink: #1B1340;
  --ej-c-ink-2: #524A78;
  --ej-c-ink-3: #7468AE;
  --ej-c-night: #130D2E;
  --ej-c-night-2: #1D1544;
  --ej-c-night-3: #281E5A;
  --ej-c-night-4: #332870;
  --ej-c-night-5: #3E3382;
  --ej-c-dusk: #8E84C9;
  --ej-c-mist: #C4BBEA;
  --ej-c-snow: #F5F1FF;
  --ej-c-sun: #FFD60A;
  --ej-c-coral: #FF7A59;
  --ej-c-mint: #3DDC97;
  --ej-c-sky: #5CC8FF;
  --ej-c-pink: #FF8AD8;
  --ej-c-green: #0B7A4B;
  --ej-c-green-wash: #D9F7E8;
  --ej-c-green-night: #0E3B2A;
  --ej-c-red: #C0271B;
  --ej-c-red-wash: #FFE3DC;
  --ej-c-red-night: #4A1A12;
  --ej-c-coral-2: #FF9C85;
  --ej-c-amber: #8A5A00;
  --ej-c-amber-wash: #FFF3BF;
  --ej-c-amber-night: #3D3000;
  --ej-c-blue: #1F5FCC;
  --ej-c-blue-wash: #DCF0FF;
  --ej-c-blue-night: #0F3050;

  /* roles, light */
  --ej-bg: #FAF7FF;
  --ej-surface: #FFFFFF;
  --ej-surface-2: #F1EBFF;
  --ej-surface-3: #E4DAFC;
  --ej-text: #1B1340;
  --ej-text-2: #524A78;
  --ej-line: #E4DAFC;
  --ej-border: #7468AE;
  --ej-primary: #7C4DFF;
  --ej-primary-hover: #5F2EEA;
  --ej-primary-press: #4A1FC4;
  --ej-on-primary: #FFFFFF;
  --ej-link: #5F2EEA;
  --ej-focus: #1B1340;
  --ej-focus-halo: #FFD60A;
  --ej-band: #1B1340;
  --ej-on-band: #F5F1FF;
  --ej-on-band-2: #C4BBEA;
  --ej-band-link: #B9A6FF;
  --ej-band-focus: #FFD60A;
  --ej-band-focus-halo: #1B1340;
  --ej-highlight: #FFD60A;
  --ej-on-highlight: #1B1340;
  --ej-marker-sun: #FFD60A;
  --ej-marker-coral: #FF7A59;
  --ej-marker-mint: #3DDC97;
  --ej-marker-sky: #5CC8FF;
  --ej-marker-pink: #FF8AD8;
  --ej-on-marker: #1B1340;
  --ej-sticker-edge: #1B1340;
  --ej-success: #0B7A4B;
  --ej-success-wash: #D9F7E8;
  --ej-danger: #C0271B;
  --ej-danger-wash: #FFE3DC;
  --ej-warning: #8A5A00;
  --ej-warning-wash: #FFF3BF;
  --ej-info: #1F5FCC;
  --ej-info-wash: #DCF0FF;
  --ej-on-wash: #1B1340;

  /* type */
  --ej-font-display: 'Bricolage Grotesque', 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ej-font-body: 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ej-font-mono: 'Atkinson Hyperlegible Mono', ui-monospace, 'Cascadia Mono', Consolas, 'Courier New', monospace;
  --ej-text-xs: 0.875rem;
  --ej-text-sm: 1rem;
  --ej-text-base: 1.125rem;
  --ej-text-md: 1.3125rem;
  --ej-text-lg: 1.625rem;
  --ej-text-xl: clamp(1.75rem, 1.57rem + 0.75vw, 2.25rem);
  --ej-text-2xl: clamp(2.125rem, 1.73rem + 1.69vw, 3.25rem);
  --ej-text-3xl: clamp(2.625rem, 1.92rem + 3vw, 4.625rem);
  --ej-text-display: clamp(3.125rem, 1.9rem + 5.26vw, 6.625rem);
  --ej-leading-tight: 1.02;
  --ej-leading-snug: 1.2;
  --ej-leading-body: 1.6;
  --ej-weight-body: 400;
  --ej-weight-strong: 700;
  --ej-weight-heading: 700;
  --ej-weight-display: 800;
  --ej-weight-button: 700;
  --ej-tracking-display: -0.035em;
  --ej-tracking-heading: -0.02em;
  --ej-tracking-body: 0;
  --ej-tracking-caps: 0.08em;
  --ej-measure: 66ch;

  /* space, radius, borders, shadows */
  --ej-space-1: 0.25rem;
  --ej-space-2: 0.5rem;
  --ej-space-3: 0.75rem;
  --ej-space-4: 1rem;
  --ej-space-5: 1.5rem;
  --ej-space-6: 2rem;
  --ej-space-7: 3rem;
  --ej-space-8: 4rem;
  --ej-space-9: 6rem;
  --ej-space-10: 8rem;
  --ej-space-gutter: clamp(1rem, 4vw, 3rem);
  --ej-space-page: 76rem;
  --ej-radius-sm: 6px;
  --ej-radius-md: 12px;
  --ej-radius-lg: 20px;
  --ej-radius-xl: 32px;
  --ej-radius-pill: 999px;
  --ej-radius-note-corner: 20px 20px 20px 4px;
  --ej-border-thin: 1px;
  --ej-border-ui: 2px;
  --ej-border-sticker: 3px;
  --ej-shadow-soft: 0 1px 2px rgb(27 19 64 / 0.08), 0 8px 24px rgb(27 19 64 / 0.10);
  --ej-shadow-sticker: 4px 4px 0 var(--ej-sticker-edge);
  --ej-shadow-sticker-lg: 8px 8px 0 var(--ej-sticker-edge);

  /* focus ring, touch target, motion */
  --ej-focus-width: 3px;
  --ej-focus-offset: 2px;
  --ej-focus-halo-width: 3px;
  --ej-target-min: 44px;
  --ej-motion-fast: 120ms;
  --ej-motion-base: 200ms;
  --ej-motion-slow: 400ms;
  --ej-motion-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ej-motion-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ej-bg: #130D2E;
    --ej-surface: #1D1544;
    --ej-surface-2: #281E5A;
    --ej-surface-3: #332870;
    --ej-text: #F5F1FF;
    --ej-text-2: #C4BBEA;
    --ej-line: #3E3382;
    --ej-border: #8E84C9;
    --ej-primary: #7C4DFF;
    --ej-primary-hover: #5F2EEA;
    --ej-primary-press: #4A1FC4;
    --ej-on-primary: #FFFFFF;
    --ej-link: #B9A6FF;
    --ej-focus: #FFD60A;
    --ej-focus-halo: #130D2E;
    --ej-band: #281E5A;
    --ej-on-band: #F5F1FF;
    --ej-on-band-2: #C4BBEA;
    --ej-band-link: #B9A6FF;
    --ej-band-focus: #FFD60A;
    --ej-band-focus-halo: #130D2E;
    --ej-highlight: #FFD60A;
    --ej-on-highlight: #1B1340;
    --ej-marker-sun: #FFD60A;
    --ej-marker-coral: #FF7A59;
    --ej-marker-mint: #3DDC97;
    --ej-marker-sky: #5CC8FF;
    --ej-marker-pink: #FF8AD8;
    --ej-on-marker: #1B1340;
    --ej-sticker-edge: #F5F1FF;
    --ej-success: #3DDC97;
    --ej-success-wash: #0E3B2A;
    --ej-danger: #FF9C85;
    --ej-danger-wash: #4A1A12;
    --ej-warning: #FFD60A;
    --ej-warning-wash: #3D3000;
    --ej-info: #5CC8FF;
    --ej-info-wash: #0F3050;
    --ej-on-wash: #F5F1FF;
    --ej-shadow-soft: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.35);
  }
}
:root[data-theme="dark"] {
  --ej-bg: #130D2E;
  --ej-surface: #1D1544;
  --ej-surface-2: #281E5A;
  --ej-surface-3: #332870;
  --ej-text: #F5F1FF;
  --ej-text-2: #C4BBEA;
  --ej-line: #3E3382;
  --ej-border: #8E84C9;
  --ej-primary: #7C4DFF;
  --ej-primary-hover: #5F2EEA;
  --ej-primary-press: #4A1FC4;
  --ej-on-primary: #FFFFFF;
  --ej-link: #B9A6FF;
  --ej-focus: #FFD60A;
  --ej-focus-halo: #130D2E;
  --ej-band: #281E5A;
  --ej-on-band: #F5F1FF;
  --ej-on-band-2: #C4BBEA;
  --ej-band-link: #B9A6FF;
  --ej-band-focus: #FFD60A;
  --ej-band-focus-halo: #130D2E;
  --ej-highlight: #FFD60A;
  --ej-on-highlight: #1B1340;
  --ej-marker-sun: #FFD60A;
  --ej-marker-coral: #FF7A59;
  --ej-marker-mint: #3DDC97;
  --ej-marker-sky: #5CC8FF;
  --ej-marker-pink: #FF8AD8;
  --ej-on-marker: #1B1340;
  --ej-sticker-edge: #F5F1FF;
  --ej-success: #3DDC97;
  --ej-success-wash: #0E3B2A;
  --ej-danger: #FF9C85;
  --ej-danger-wash: #4A1A12;
  --ej-warning: #FFD60A;
  --ej-warning-wash: #3D3000;
  --ej-info: #5CC8FF;
  --ej-info-wash: #0F3050;
  --ej-on-wash: #F5F1FF;
  --ej-shadow-soft: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.35);
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

/* The focus ring. Two rings, so it shows on any color it lands on. */
:focus-visible {
  outline: var(--ej-focus-width) solid var(--ej-focus);
  outline-offset: var(--ej-focus-offset);
  box-shadow: 0 0 0 calc(var(--ej-focus-width) + var(--ej-focus-offset) + var(--ej-focus-halo-width)) var(--ej-focus-halo);
}
/* The band is dark in both modes, so its ring is always yellow. */
.ej-band { --ej-focus: var(--ej-band-focus); --ej-focus-halo: var(--ej-band-focus-halo); }

@media (prefers-reduced-motion: reduce) {
  :root { --ej-motion-fast: 0.01ms; --ej-motion-base: 0.01ms; --ej-motion-slow: 0.01ms; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
