/*
 * Palette: warm-burnout light variant (https://github.com/felipefdl/warm-burnout)
 * Fluid scale: generated at utopia.fyi, min 320px/18px, max 1240px/20px,
 * min ratio 1.2 (Minor Third), max ratio 1.25 (Major Third)
 * Type:  https://utopia.fyi/type/calculator?c=320,18,1.2,1240,20,1.25,5,2,&s=,&g=s,l,xl,12
 * Space: https://utopia.fyi/space/calculator?c=320,18,1.2,1240,20,1.25,5,2,&s=,&g=s,l,xl,12
 */

:root {
  /* Color */
  --color-bg: #f5ede0;
  --color-text: #3a3630;
  --color-accent: #924800;
  --color-accent-secondary: #8e4632;
  --color-muted: #544c40;
  --color-border: color-mix(in srgb, var(--color-text) 15%, var(--color-bg));
  --color-code-bg: color-mix(in srgb, var(--color-bg) 90%, var(--color-text));

  /* Syntax highlighting (warm-burnout light variant) */
  --syntax-keyword: #924800;
  --syntax-function: #855700;
  --syntax-tag: #8e4632;
  --syntax-string: #4d5c1a;
  --syntax-regex: #286a48;
  --syntax-number: #7e4060;
  --syntax-property: #883850;
  --syntax-comment: #544c40;
  --syntax-css-property: #74501c;
  --syntax-class: #285464;

  /* Fonts */
  --font-heading: "Georgia", "Times New Roman", serif;
  --font-body: -apple-system, "BlinkMacSystemFont", "Segoe UI", "Roboto", sans-serif;

  /* Fluid type scale */
  --step-n2: clamp(0.7813rem, 0.7747rem + 0.0326vw, 0.8rem);
  --step-n1: clamp(0.9375rem, 0.9158rem + 0.1087vw, 1rem);
  --step-0: clamp(1.125rem, 1.0815rem + 0.2174vw, 1.25rem);
  --step-1: clamp(1.35rem, 1.2761rem + 0.3696vw, 1.5625rem);
  --step-2: clamp(1.62rem, 1.5041rem + 0.5793vw, 1.9531rem);
  --step-3: clamp(1.944rem, 1.771rem + 0.8651vw, 2.4414rem);
  --step-4: clamp(2.3328rem, 2.0827rem + 1.2504vw, 3.0518rem);
  --step-5: clamp(2.7994rem, 2.4462rem + 1.7658vw, 3.8147rem);

  /* Fluid space scale */
  --space-3xs: clamp(0.3125rem, 0.3125rem + 0vw, 0.3125rem);
  --space-2xs: clamp(0.5625rem, 0.5408rem + 0.1087vw, 0.625rem);
  --space-xs: clamp(0.875rem, 0.8533rem + 0.1087vw, 0.9375rem);
  --space-s: clamp(1.125rem, 1.0815rem + 0.2174vw, 1.25rem);
  --space-m: clamp(1.6875rem, 1.6223rem + 0.3261vw, 1.875rem);
  --space-l: clamp(2.25rem, 2.163rem + 0.4348vw, 2.5rem);
  --space-xl: clamp(3.375rem, 3.2446rem + 0.6522vw, 3.75rem);
  --space-2xl: clamp(4.5rem, 4.3261rem + 0.8696vw, 5rem);
  --space-3xl: clamp(6.75rem, 6.4891rem + 1.3043vw, 7.5rem);
}
