/* Hey Spice Mama design tokens, shared by the landing page (index.html) and the plan app
   (plan.css, inbox.css). Change a colour, font, border or shadow here and both follow, so the
   two can never drift apart. Variables and fonts only: no layout, no components. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Brand colours */
  --green: #2F4A3A;      /* star anise */
  --turmeric: #E8A33D;
  --chili: #C2492F;
  --ink: #241915;        /* espresso */
  --cream: #FBF6EE;
  --paper: #FFFFFF;

  /* Light tints for quiet panels and hover states */
  --turmeric-soft: #F6E6C9;
  --green-soft: #DFE8D6;
  --chili-soft: #F6DDD5;
  --muted: #5E4B40;      /* secondary text on cream or paper */

  /* Type */
  --head: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --head-tracking: -0.03em;

  /* Edges: hard and square, never rounded */
  --radius: 0;
  --edge: 3px solid var(--ink);
  --edge-thin: 2px solid var(--ink);

  /* Hard offset shadows only (no blur) */
  --shadow-lg: 10px 10px 0 var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --press: translate(3px, 3px);   /* buttons shift this far when pressed or hovered */

  /* Square option buttons (survey answers, app chips): cream, turmeric when chosen */
  --opt-bg: var(--cream);
  --opt-hover: var(--turmeric-soft);
  --opt-on: var(--turmeric);

  --focus: 3px solid var(--chili);
}
