/*
 * Show Goods shared design tokens, version 1.
 * Served at https://showgoodsco.com/design/v1/tokens.css and read live by every Show Goods site and app
 * (CoDirector, Proscenio, and later showgoodsco.com itself). Change a value here, merge, and each of them
 * shows it on its next page load. Approved by Quentin, Nov 19, 2026 (CoDirector docs/design/show-goods-family-2026-11-19/).
 *
 * Rules for editing:
 * - Only values change in v1 (a colour, a corner, a font). Renaming or removing a token would break the sites
 *   that read it: that goes into a new /design/v2/ file, and each site moves when it's ready.
 * - Every text colour must keep WCAG 2.2 AA contrast on ivory and white (4.5:1 text, 3:1 borders and focus).
 * - Products keep their own layout, components, type sizes and extras (CoDirector's show colours,
 *   Proscenio's dark mode); only the values below are shared.
 * - Each site keeps a copy of this file as a fallback and a daily check that the copy is current.
 */
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand colours (brand spec). Coral to aqua is the gradient; never behind or inside small text. */
  --showgoods-ink: #171925;
  --showgoods-coral: #ff684c;
  --showgoods-pink: #f346a5;
  --showgoods-violet: #7849ef;
  --showgoods-blue: #2166f5;
  --showgoods-aqua: #20c9c8;
  --showgoods-gradient: linear-gradient(100deg, #ff684c 0%, #f346a5 28%, #7849ef 55%, #2166f5 80%, #20c9c8 100%);

  /* Surfaces and lines */
  --showgoods-ivory: #faf8f3; /* page */
  --showgoods-ivory-2: #f3f0e8; /* grouping, quiet panels */
  --showgoods-white: #ffffff; /* cards, dialogs, fields */
  --showgoods-rule: #e3ded3; /* card borders, dividers */
  --showgoods-border-control: #8e8c85; /* form fields: 3.37:1 */

  /* Text */
  --showgoods-text: #171925;
  --showgoods-muted: #5c5d67; /* 6.4:1 on ivory */

  /* Action: one blue for buttons and links (Proscenio and the Show Goods account) */
  --showgoods-action: #1a55d6; /* white on it 6.3:1 */
  --showgoods-action-hover: #1442ab;
  --showgoods-action-wash: #eaf0fb; /* selected items, current page */
  --showgoods-on-action: #ffffff;
  --showgoods-link: #1a55d6;
  --showgoods-focus: #174ea6; /* focus ring, 3px */

  /* Text-safe product accents and tints */
  --showgoods-blue-ink: #1a55d6;
  --showgoods-violet-ink: #5f33d6;
  --showgoods-coral-ink: #b83a1f;
  --showgoods-aqua-ink: #0b7a79;
  --showgoods-pink-ink: #b11d72;
  --showgoods-tint-blue: #eaf0fb;
  --showgoods-tint-violet: #efebf8;
  --showgoods-tint-coral: #f9ece5;
  --showgoods-tint-aqua: #e3f5f4;
  --showgoods-tint-pink: #fbeaf3;

  /* Status: always with a word or icon, never colour alone */
  --showgoods-success: #1e7a46;
  --showgoods-success-tint: #e3f1e8;
  --showgoods-warning: #8a5a00;
  --showgoods-warning-tint: #fbf0d9;
  --showgoods-error: #c02b2b;
  --showgoods-error-tint: #fbe9e9;

  /* Type: Manrope for headings and big numbers, Inter for everything else */
  --showgoods-display: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --showgoods-text-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --showgoods-heading-weight: 800;
  --showgoods-heading-tracking: -0.03em;

  /* Space (4, 8, 12, 16, 24, 32, 48, 64) */
  --showgoods-s1: 0.25rem;
  --showgoods-s2: 0.5rem;
  --showgoods-s3: 0.75rem;
  --showgoods-s4: 1rem;
  --showgoods-s5: 1.5rem;
  --showgoods-s6: 2rem;
  --showgoods-s7: 3rem;
  --showgoods-s8: 4rem;

  /* Shape. Buttons: blue pills for every Show Goods site (Quentin, Nov 19, 2026). */
  --showgoods-r-button: 999px;
  --showgoods-r-control: 10px;
  --showgoods-r-card: 16px;
  --showgoods-r-panel: 24px;
  --showgoods-shadow: 0 1px 2px rgb(23 25 37 / 0.06), 0 8px 24px -12px rgb(23 25 37 / 0.18); /* floating layers only */

  /* Motion */
  --showgoods-t-ui: 160ms;
  --showgoods-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
