/* Heliome design tokens. The layout comes from Wayan's "home advocate" site;
   the colors are the Heliome design system's pine, brass and ink on lighter
   grounds. Type: DM Sans for text, Lora for the wordmark and page titles,
   Caveat for the handwritten notes. */

/* Fonts are self-hosted so visitors' browsers never contact Google. All three
   are cut to Google Fonts' "latin" subset; see fonts/ for their OFL licenses
   and the README for how to update them. */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/caveat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Pine — brand: logo, buttons, labels, checks */
  --pine-900: #24382F;
  --pine-700: #2E4A3C;

  /* Ink — text */
  --ink: #1E2A24;
  --ink-secondary: #4A544C;

  /* Brass — links (600 is the lightest brass that is readable as text on
     these grounds) and the keyboard focus ring */
  --brass-600: #8C6128;
  --brass-500: #AE7A33;

  /* Grounds — lighter than the design system's cream */
  --white: #fff;
  --paper: #f7f5f1;
  --paper-warm: #f8f5f0;
  --paper-deep: #EFEAE0;

  /* Tints — not in the design system. The blue is the mint turned to a blue
     hue at the same lightness and saturation (OKLCH 0.956 / 0.018). */
  --mint: #edf3e6;
  --mint-hover: #e0ebd9;
  --blue: #e4f4fa;

  /* Lines */
  --line: #E4DDCF;
  --line-strong: #D5CDBC;

  /* Semantic */
  --concern: #A8503F;
  --link: var(--brass-600);
  --focus: var(--brass-500);

  /* Families */
  --font-ui: "DM Sans", Arial, sans-serif;
  --font-brand: "Lora", Georgia, serif;
  --font-hand: "Caveat", cursive;

  /* Layout */
  --max: 1180px;
}
