/* Walupi design tokens, redesign 2026: dense marketplace storefront +
   escrow-first portal. Rules:
   - indigo-950 = dark trust surfaces (header, escrow/wallet hero cards) only.
   - royal-* = primary actions and held-money signals only.
   - price = product prices only. accent (terracotta) = urgency, closing
     dates, deals, and alert dots only.
   - sky-* = in-transit and progress states only. danger-* = problems only.
     gold = rating stars only. Never invent new colours. */

/* Body face (owner decision, 2 Sep 2026): Plus Jakarta Sans, the closest
   open (SIL OFL) equivalent of Walmart's proprietary Bogle: friendly
   geo-humanist, rounded, confident. Space Grotesk stays for headings and
   money. Variable woff2, self-hosted. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/jakarta-latin.13d1b429e990.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/jakarta-latin-ext.cc2090cafea0.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/spacegrotesk-latin.87c506d88b9f.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/spacegrotesk-latin-ext.0bb2ef2eda4e.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #f4f4f7;
  --surface: #ffffff;
  --ink: #16151f;
  --ink-60: #5f5f70;
  --ink-40: #8b8a9a;
  --line: #e5e4ee;
  --line-soft: #f0eff5;

  /* Brightened one step (owner note, 2 Sep 2026: the old near-black indigo
     read too dark for a storefront). Same hues, more light; contrast on all
     dark surfaces stays AA for white and the muted companions. */
  --indigo-950: #2e239b;
  --indigo-950-muted: #cbc5f5;
  --indigo-950-soft: #b4a7fc;

  --royal-900: #392c8f;
  --royal-700: #5540c4;
  --royal-500: #7a63e6;
  --royal-200: #dcd5f8;
  --royal-100: #edeafb;

  --price: #0e7a46;
  --accent: #b4552e;
  --accent-100: #fdf1de;
  --accent-line: #f3ddb5;
  --gold: #e8a020;

  --sky-700: #1d5fd1;
  --sky-500: #3b82e8;
  --sky-100: #e4eefc;
  --danger-700: #a32c21;
  --danger-100: #fbeae8;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Plus Jakarta Sans", system-ui, "Segoe UI", sans-serif;

  /* Type scale (added 11 Sep 2026). The build had 28 distinct font sizes and
     no scale: 8.5px, 10.5px, 11.5px, 12.5px and 13.5px all shipped, and 107
     of 190 size declarations sat at 13px or below. These seven steps are the
     whole vocabulary, and --text-xs is a hard floor: Walupi is read outdoors,
     in daylight, on cheap screens. */
  --text-xs: 12px;   /* captions, chips, timestamps. Never go below this. */
  --text-sm: 14px;   /* secondary and supporting copy */
  --text-md: 16px;   /* body default */
  --text-lg: 18px;   /* card titles, lead-ins */
  --text-xl: 22px;   /* section headings */
  --text-2xl: 28px;  /* page headings */
  --text-3xl: 36px;  /* hero numerals and hero headings */

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;

  --r-control: 12px;
  --r-card: 18px;
  --r-hero: 24px;
  --r-sheet: 24px;

  --shadow-cta: 0 -6px 18px rgba(23, 16, 64, 0.06);
  --shadow-pop: 0 6px 18px rgba(23, 16, 64, 0.1);
}
