/*
  Ink Squiggle: design tokens
  Feel: a blank white page that someone has been doodling on. A heavy, tight black
  sans headline sits dead center, one word underlined with a magenta zigzag. Loose
  ballpoint line drawings (speech bubbles, faces, stars, little objects) wobble in
  the margins, all stroke and no fill. A plain product window sits under the hero.
  One blue button. Handwritten notes in the margins point at things with arrows.

  Fonts (free, Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Inter+Tight:wght@700;800&family=Inter:wght@400;500;600&family=Gochi+Hand&display=swap" rel="stylesheet">
*/

:root {
  /* Surfaces */
  --iq-paper: #FFFFFF;
  --iq-mist: #F6F6F7;
  --iq-line: #E6E6EA;
  --iq-line-strong: #D2D2D8;

  /* Ink */
  --iq-ink: #121214;
  --iq-graphite: #38383E;
  --iq-muted: #6B6B74;
  --iq-faint: #A9A9B2;

  /* Accents */
  --iq-blue: #0A66D8;
  --iq-blue-deep: #0850AE;
  --iq-blue-wash: #EAF2FD;
  --iq-magenta: #EE22C4;
  --iq-magenta-wash: #FDE9F8;
  --iq-sun: #FFE15C;
  --iq-red: #D9312B;
  --iq-green: #1F9D55;

  /* Fonts */
  --iq-font-head: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --iq-font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --iq-font-hand: "Gochi Hand", "Comic Sans MS", cursive;

  /* Type scale */
  --iq-text-hero: clamp(42px, 6.4vw, 84px);
  --iq-text-h2: clamp(32px, 4vw, 52px);
  --iq-text-h3: clamp(19px, 1.6vw, 22px);
  --iq-text-lead: clamp(18px, 1.5vw, 21px);
  --iq-text-body: 16px;
  --iq-text-prose: 18px;
  --iq-text-small: 14px;
  --iq-text-hand: 22px;
  --iq-lh-tight: 1.02;
  --iq-lh-body: 1.6;
  --iq-track-head: -0.035em;

  /* Shape */
  --iq-r-xs: 4px;
  --iq-r-sm: 6px;
  --iq-r: 8px;
  --iq-r-lg: 12px;
  --iq-r-pill: 999px;
  --iq-border: 1px solid var(--iq-line);
  --iq-stroke: 2.2px;

  /* Shadows: barely there */
  --iq-shadow-sm: 0 1px 2px rgba(18, 18, 20, 0.06);
  --iq-shadow: 0 1px 2px rgba(18, 18, 20, 0.05), 0 12px 32px -16px rgba(18, 18, 20, 0.18);
  --iq-shadow-window: 0 0 0 1px var(--iq-line), 0 24px 60px -30px rgba(18, 18, 20, 0.25);
  --iq-ring: 0 0 0 3px rgba(10, 102, 216, 0.22);

  /* Space */
  --iq-s1: 4px;
  --iq-s2: 8px;
  --iq-s3: 12px;
  --iq-s4: 16px;
  --iq-s5: 24px;
  --iq-s6: 32px;
  --iq-s7: 48px;
  --iq-s8: 72px;
  --iq-s9: 112px;
  --iq-wide: 1140px;
  --iq-mid: 720px;
  --iq-narrow: 640px;
  --iq-gutter: clamp(18px, 4vw, 40px);

  /* Doodle tilt */
  --iq-tilt: -6deg;
  --iq-tilt-alt: 5deg;
}
