/* Joejitsu.tech design tokens
   Source: computed styles from https://joejitsu.tech, rendered
   Nov 17, 2026, America/New_York, 1440x900 and 390x844.
   Print tokens are from /workspace/wb/style.css (the 30 Day Playbook PDF).
   Values marked INFERRED were calculated, not read from a computed style.
*/

:root {
  /* ---- Digital surface (live site, verified) ---- */
  --jj-bg: #080808;                 /* hsl(0 0% 3%) body background */
  --jj-fg: #FAFAFA;                 /* hsl(0 0% 98%) body text */
  --jj-white: #FFFFFF;              /* h1 and button label color at rest */
  --jj-primary: #A1FF14;            /* hsl(84 100% 54%) digital accent */
  --jj-primary-fg: #0A0A0A;         /* hsl(0 0% 4%) text on primary fill */
  --jj-primary-hover-fg: #000000;   /* verified Contact Me hover text */
  --jj-accent: #2A3913;             /* hsl(84 50% 15%) dark lime surface */
  --jj-accent-fg: #A1FF14;          /* same as primary */
  --jj-muted: #1A1A1A;              /* hsl(0 0% 10%) */
  --jj-muted-fg: #999999;           /* hsl(0 0% 60%), 7.03:1 on bg, AA/AAA */
  --jj-legal: #999999;              /* use solid muted-fg, not muted-fg at 50% */
  --jj-card: #0D0D0D;               /* hsl(0 0% 5%) */
  --jj-card-fg: #FAFAFA;
  --jj-border: #1F1F1F;             /* hsl(0 0% 12%) */
  --jj-input: #262626;              /* hsl(0 0% 15%), INFERRED from theme var */
  --jj-secondary: #1F1F1F;
  --jj-secondary-fg: #FAFAFA;
  --jj-ring: #A1FF14;
  --jj-destructive: #EF4343;        /* hsl(0 84% 60%) */
  --jj-destructive-fg: #FAFAFA;     /* large text only on this fill; 3.78:1 */

  /* Translucent surfaces as used on the live link rows (oklab 50% mixes) */
  --jj-card-50: color-mix(in oklab, var(--jj-card) 50%, transparent);
  --jj-border-50: color-mix(in oklab, var(--jj-border) 50%, transparent);
  --jj-primary-10: color-mix(in oklab, var(--jj-primary) 10%, transparent);
  --jj-primary-40: color-mix(in oklab, var(--jj-primary) 40%, transparent);

  /* ---- Print / product (PDF only; do not recolor page previews) ---- */
  --jj-print-ink: #131317;
  --jj-print-ink-2: #3A3A42;
  --jj-print-mut: #6B6B74;
  --jj-print-accent: #FF4F1F;
  --jj-print-accent-tint: #FFEDE6;
  --jj-print-paper: #F4F3EF;
  --jj-print-rule: #D9D7D0;
  --jj-print-line: #C9C6BD;
  --jj-favicon: #FF3C00;            /* live favicon.svg only, not the site UI */

  /* ---- Type ---- */
  --jj-font-sans: "Outfit", sans-serif;
  --jj-font-mono: "Space Mono", monospace;
  --jj-font-print-body: "Inter", sans-serif;
  --jj-font-print-display: "Archivo Condensed", sans-serif;
  --jj-font-print-black: "Archivo Black", sans-serif;

  /* Scale from the live Tailwind theme. Observed on the homepage: xs, xl, 5xl, 6xl. */
  --jj-text-xs: 0.75rem;            /* 12px, line 16px */
  --jj-text-xs-lh: 1.3333;          /* calc(1 / 0.75) */
  --jj-text-sm: 0.875rem;           /* 14px */
  --jj-text-sm-lh: 1.4286;          /* calc(1.25 / 0.875) */
  --jj-text-base: 1rem;             /* 16px, line 24px */
  --jj-text-base-lh: 1.5;
  --jj-text-lg: 1.125rem;           /* 18px */
  --jj-text-lg-lh: 1.5556;          /* calc(1.75 / 1.125) */
  --jj-text-xl: 1.25rem;            /* 20px, line 28px */
  --jj-text-xl-lh: 1.4;             /* calc(1.75 / 1.25) */
  --jj-text-2xl: 1.5rem;            /* 24px */
  --jj-text-2xl-lh: 1.3333;         /* calc(2 / 1.5) */
  --jj-text-4xl: 2.25rem;           /* 36px */
  --jj-text-4xl-lh: 1.1111;         /* calc(2.5 / 2.25) */
  --jj-text-5xl: 3rem;              /* 48px, line 1 */
  --jj-text-5xl-lh: 1;
  --jj-text-6xl: 3.75rem;           /* 60px, line 1 */
  --jj-text-6xl-lh: 1;

  --jj-weight-regular: 400;
  --jj-weight-bold: 700;
  --jj-weight-black: 900;

  --jj-track-tighter: -0.05em;      /* h1: -2.4px at 48px, -3px at 60px */
  --jj-track-wide: 0.025em;         /* button label: 0.5px at 20px */
  --jj-track-widest: 0.1em;         /* kicker: 1.2px at 12px */

  /* ---- Space, radius, motion ---- */
  --jj-space: 0.25rem;              /* 4px base, Tailwind --spacing */
  --jj-radius: 0.25rem;             /* 4px theme radius */
  --jj-radius-btn: 8px;             /* rounded-xl = radius + 4px, verified */
  --jj-radius-full: 9999px;

  --jj-container: 48rem;            /* 768px, max-w-3xl, verified */
  --jj-pad-x: 1.5rem;               /* 24px, px-6, verified */
  --jj-section-sm: 4rem;            /* 64px, header mb-16, verified */
  --jj-section-md: 5rem;            /* 80px, main py-20, verified */
  --jj-section-lg: 6rem;            /* 96px, links section mb-24, verified */
  --jj-stack: 1rem;                 /* 16px, gap-4, verified */

  --jj-btn-pad: 1.5rem;             /* 24px, homepage link rows, verified */
  --jj-btn-min: 3.5rem;             /* 56px recommended buy CTA; rows are 78px */
  --jj-focus-offset: 2px;
  --jj-blur: 8px;                   /* backdrop-blur-sm on link rows */

  --jj-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --jj-duration: 300ms;             /* transition-all duration-300 */
  /* Hover motion from source (whileHover). The captured matrix was mid-animation. */
  --jj-hover-scale: 1.02;
  --jj-hover-shift: -2px;

  --jj-bp-sm: 40rem;                /* 640px, present in the CSS build */
  --jj-bp-md: 48rem;                /* 768px, verified (md:text-6xl) */
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --jj-hover-scale: 1;
    --jj-hover-shift: 0px;
    --jj-duration: 0.01ms;
  }
}
