/* Just People brand tokens, v2 (choices ruled by Rod 26 Nov 2026).
   Palette: C Fresh Street. Fonts: Dela Gothic One (headings 24px+ and one-word shouts) + Lexend (all reading text).
   Mix: about 60% sand background, about 30% charcoal text plus one dark band per page, about 10% blue/pink/green accents.
   Gold is used ONLY in the logo crown. Every text pair listed under "safe text pairs" passes WCAG AA (4.5:1).
   Fonts are self-hosted: see /fonts.css (Dela Gothic One, Lexend). */

:root {
  /* Neutrals (the 60 and the 30) */
  --jp-sand: #F5EFE6;        /* page background */
  --jp-card: #FFFDF9;        /* cards and panels on sand */
  --jp-sand-deep: #E9E0D2;   /* dividers, soft fills, input borders on sand (decorative) */
  --jp-line: #E0D5C3;        /* hairlines */
  --jp-charcoal: #22232B;    /* body text, the one dark band, footer */
  --jp-muted: #4C4E58;       /* secondary text on sand or card (7.2:1) */
  --jp-muted-on-dark: #C9C6BE; /* secondary text on charcoal (9.2:1) */

  /* Brights (the 10): use as FILLS with charcoal text, or the *-text shade for text on sand */
  --jp-blue: #2343D9;        /* buttons (white text 7.3:1), links on sand (6.4:1) */
  --jp-pink: #FF5A84;        /* fills, tags, buttons with charcoal text (5.3:1), text on charcoal (5.3:1) */
  --jp-pink-text: #C32D5A;   /* pink text on sand (4.8:1) or card (5.4:1) */
  --jp-green: #1FC46B;       /* fills with charcoal text (6.8:1), text on charcoal (6.8:1) */
  --jp-green-text: #0E7A43;  /* green text on sand (4.7:1) */
  --jp-tangerine: #FF8A3D;   /* shapes and small accents only; charcoal text on it 6.7:1 */

  /* Logo only */
  --jp-gold: #FFC21A;        /* crown on charcoal */
  --jp-gold-deep: #A87000;   /* crown on sand (3.7:1 graphic) */

  /* Type */
  --jp-font-display: "Dela Gothic One", "Arial Black", system-ui, sans-serif;
  --jp-font-body: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --jp-shout: clamp(3rem, 8vw, 5.5rem);   /* one-word shouts, may be uppercase: FAITH. FUN. CROWNED. */
  --jp-h1: clamp(2.25rem, 5vw, 3.5rem);
  --jp-h2: clamp(1.75rem, 3.5vw, 2.5rem);
  --jp-h3: 1.5rem;                          /* 24px: the smallest size Dela is ever used at */
  --jp-h4: 1.25rem;                         /* Lexend 700 below 24px, never Dela */
  --jp-body: 1.0625rem;                     /* 17px Lexend 400 */
  --jp-small: 0.875rem;                     /* 14px Lexend, the smallest text */
  --jp-leading-display: 1.12;               /* Dela needs room so lowercase never crowds */
  --jp-leading-body: 1.6;

  /* Shape and space */
  --jp-radius-card: 14px;
  --jp-radius-pill: 999px;
  --jp-space: 1rem;
  --jp-measure: 65ch;
  --jp-focus: 3px solid var(--jp-blue);
}

/* Base */
body { background: var(--jp-sand); color: var(--jp-charcoal); font: 400 var(--jp-body)/var(--jp-leading-body) var(--jp-font-body); }
h1, h2, h3 { font-family: var(--jp-font-display); font-weight: 400; line-height: var(--jp-leading-display); text-wrap: balance; }
h1 { font-size: var(--jp-h1); } h2 { font-size: var(--jp-h2); } h3 { font-size: var(--jp-h3); }
h4, h5, h6 { font-family: var(--jp-font-body); font-weight: 700; }
.jp-shout { font-family: var(--jp-font-display); font-size: var(--jp-shout); line-height: 1; text-transform: uppercase; } /* max one per screen */
a { color: var(--jp-blue); text-decoration: underline; text-underline-offset: .15em; }
:focus-visible { outline: var(--jp-focus); outline-offset: 3px; }

/* The one dark band per page (hero or the game) */
.jp-band { background: var(--jp-charcoal); color: var(--jp-sand); }
.jp-band .jp-muted { color: var(--jp-muted-on-dark); }
.jp-band .jp-shout, .jp-band .jp-accent { color: var(--jp-green); }

/* Buttons: text is always Lexend, never Dela */
.jp-btn { font: 700 1rem/1 var(--jp-font-body); padding: .85em 1.4em; border-radius: var(--jp-radius-pill); border: 0; cursor: pointer; }
.jp-btn--primary { background: var(--jp-blue); color: #FFFFFF; }
.jp-btn--pink { background: var(--jp-pink); color: var(--jp-charcoal); }
.jp-btn--green { background: var(--jp-green); color: var(--jp-charcoal); }
.jp-btn--ghost { background: transparent; color: var(--jp-charcoal); box-shadow: inset 0 0 0 2px var(--jp-charcoal); }
.jp-band .jp-btn--ghost { color: var(--jp-sand); box-shadow: inset 0 0 0 2px var(--jp-sand); }

/* Tags and cards */
.jp-tag { font: 700 .75rem/1 var(--jp-font-body); padding: .35em .7em; border-radius: var(--jp-radius-pill); background: var(--jp-pink); color: var(--jp-charcoal); }
.jp-card { background: var(--jp-card); border: 1px solid var(--jp-line); border-radius: var(--jp-radius-card); }
.jp-muted { color: var(--jp-muted); }

/* Safe text pairs (all AA):
   charcoal on sand 13.7 | charcoal on card 15.4 | muted on sand 7.2 | blue on sand 6.4 | pink-text on sand 4.8
   green-text on sand 4.7 | white on blue 7.3 | charcoal on pink 5.3 | charcoal on green 6.8 | charcoal on tangerine 6.7
   sand on charcoal 13.7 | green on charcoal 6.8 | pink on charcoal 5.3 | muted-on-dark on charcoal 9.2
   NEVER: bright pink, green or tangerine as text on sand; gold anywhere but the crown. */
