/* Penny Invoice brand tokens. The single source for colour, type, shape.
   Copy this file into the site (or @import it) and build from the variables; never retype a hex.
   Rules and reasoning: BRAND.md in the same folder. */

:root {
  /* ---- brand ---- */
  --pi-navy:        #0B1F4B;  /* the P, the wordmark, headings, dark bands, footer */
  --pi-navy-800:    #14306B;  /* raised surface or hover on a navy ground */
  --pi-copper:      #C8763A;  /* the penny. Graphics and large type only on light (3.4:1 on white) */
  --pi-copper-lift: #D98646;  /* the penny on a navy ground (5.7:1) */
  --pi-copper-text: #9A5524;  /* copper as small text on white or on the copper tint (5.7:1 / 5.1:1) */
  --pi-copper-50:   #FBF1E9;  /* warm tint: a highlight band, a callout */
  --pi-sky:         #93B4F8;  /* the folded corner; links and small accents on navy (7.7:1). Never text on white */

  /* ---- action (the one interactive colour, same as the app) ---- */
  --pi-blue:        #2563EB;  /* buttons, links, focus on light grounds (5.2:1 on white) */
  --pi-blue-hover:  #1D4ED8;
  --pi-blue-50:     #EFF6FF;  /* hover and selected tint */

  /* ---- neutrals (Tailwind slate, same as the app) ---- */
  --pi-white:       #FFFFFF;
  --pi-canvas:      #F8FAFC;  /* slate-50: alternate section ground */
  --pi-border:      #E2E8F0;  /* slate-200: every hairline */
  --pi-muted:       #64748B;  /* slate-500: secondary text (4.8:1 on white) */
  --pi-body:        #334155;  /* slate-700: paragraphs */
  --pi-ink:         #0F172A;  /* slate-900: app text; on the site headings use navy instead */
  --pi-on-navy:       #FFFFFF;
  --pi-on-navy-muted: #CBD5E1;  /* slate-300 on navy (10.8:1) */

  /* ---- status (fixed by the app's design system; do not re-pick) ---- */
  --pi-paid:    #047857;  /* emerald-700 (text-safe, 5.5:1 on white) */
  --pi-overdue: #B45309;  /* amber-700 */
  --pi-danger:  #DC2626;  /* red-600: destructive actions and overdue money only */

  /* ---- type ---- */
  --pi-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pi-font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  /* ---- shape ---- */
  --pi-radius:     0.625rem;  /* 10px: buttons, inputs */
  --pi-radius-lg:  0.875rem;  /* 14px: cards, screenshots */
  --pi-radius-pill: 999px;    /* badges */
  --pi-shadow-card: 0 1px 2px 0 rgb(15 23 42 / 0.05), 0 4px 12px -2px rgb(15 23 42 / 0.06);
  --pi-shadow-lift: 0 12px 32px -8px rgb(11 31 75 / 0.22);   /* product screenshots only */

  /* ---- layout ---- */
  --pi-measure: 72rem;        /* max content width (1152px) */
  --pi-prose:   42rem;        /* max width of running text */
  --pi-gutter:  clamp(1rem, 4vw, 2rem);
  --pi-section: clamp(3.5rem, 8vw, 6rem);   /* vertical padding of a page section */
}

/* Tailwind v4: paste inside the site's main stylesheet to get bg-navy, text-copper, etc.
@theme inline {
  --color-navy: var(--pi-navy);
  --color-navy-800: var(--pi-navy-800);
  --color-copper: var(--pi-copper);
  --color-copper-lift: var(--pi-copper-lift);
  --color-copper-text: var(--pi-copper-text);
  --color-copper-50: var(--pi-copper-50);
  --color-sky: var(--pi-sky);
  --color-action: var(--pi-blue);
  --color-action-hover: var(--pi-blue-hover);
  --font-sans: var(--pi-font);
  --radius-lg: var(--pi-radius);
  --radius-xl: var(--pi-radius-lg);
}
*/
