/*
 * Hachure Huddle: design tokens
 *
 * Feel: a bright shared whiteboard with everyone's cursor on it. Clean
 * off-white paper, a rounded geometric sans for headlines and body, and one
 * handwritten marker face for the words that matter, sitting on a mint
 * highlighter block. Shapes are drawn, not rendered: rough double-stroke
 * outlines, diagonal hachure fills, confetti dashes scattered in the margins,
 * and little named cursor flags that make every page feel like other people
 * are on it with you. Buttons are soft periwinkle pills.
 *
 * Fonts (put this in <head> before tokens.css):
 *   <link rel="preconnect" href="https://fonts.googleapis.com">
 *   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
 *   <link href="https://fonts.googleapis.com/css2?family=Kalam:wght@400;700&family=Lexend:wght@400;500;600;700&display=swap" rel="stylesheet">
 */

:root {
  /* Surfaces */
  --hh-paper: #fffefb;
  --hh-paper-2: #f5f3fc;
  --hh-paper-3: #ece9f8;
  --hh-line: #dcd8ea;
  --hh-line-strong: #b9b4d0;

  /* Ink */
  --hh-ink: #1d1b2c;
  --hh-ink-soft: #55526a;
  --hh-ink-faint: #8b88a0;

  /* Accent: periwinkle pen */
  --hh-violet: #5b54d9;
  --hh-violet-deep: #433cba;
  --hh-violet-wash: #e7e5fb;

  /* Marker and sticky colors */
  --hh-mint: #c6f1d3;
  --hh-mint-ink: #1d7446;
  --hh-butter: #ffe48f;
  --hh-butter-ink: #7a5a00;
  --hh-pink: #f59ab0;
  --hh-sky: #8ac7f0;
  --hh-peach: #ffb88a;
  --hh-coral: #e8604c;

  /* Fonts */
  --hh-font-sans: "Lexend", "Avenir Next", "Segoe UI", sans-serif;
  --hh-font-hand: "Kalam", "Comic Sans MS", cursive;

  /* Type scale */
  --hh-size-xs: 0.78rem;
  --hh-size-sm: 0.9rem;
  --hh-size-md: 1.02rem;
  --hh-size-lg: 1.2rem;
  --hh-size-xl: 1.6rem;
  --hh-size-2xl: clamp(1.8rem, 3.6vw, 2.6rem);
  --hh-size-3xl: clamp(2.3rem, 5.6vw, 4rem);
  --hh-leading-tight: 1.12;
  --hh-leading: 1.6;
  --hh-weight-body: 400;
  --hh-weight-mid: 500;
  --hh-weight-head: 600;

  /* Shape */
  --hh-radius-sm: 8px;
  --hh-radius: 14px;
  --hh-radius-lg: 22px;
  --hh-radius-pill: 999px;
  --hh-stroke: 1.6px;
  --hh-shadow-sm: 0 1px 2px rgba(29, 27, 44, 0.06), 0 2px 6px rgba(29, 27, 44, 0.05);
  --hh-shadow: 0 2px 4px rgba(29, 27, 44, 0.05), 0 12px 30px rgba(67, 60, 186, 0.10);
  --hh-shadow-lift: 0 4px 8px rgba(29, 27, 44, 0.06), 0 22px 48px rgba(67, 60, 186, 0.16);
  --hh-focus: 0 0 0 3px var(--hh-paper), 0 0 0 5px var(--hh-violet);

  /* Hachure: diagonal sketch fill, built from a color variable */
  --hh-hachure-gap: 7px;
  --hh-hachure-line: 1.6px;

  /* Space */
  --hh-space-1: 0.25rem;
  --hh-space-2: 0.5rem;
  --hh-space-3: 0.75rem;
  --hh-space-4: 1rem;
  --hh-space-5: 1.5rem;
  --hh-space-6: 2rem;
  --hh-space-7: 3rem;
  --hh-space-8: 4.5rem;
  --hh-space-9: 6.5rem;
  --hh-width: 1140px;
  --hh-width-text: 680px;
}
