/* OFFCANNY, Inc. billing: foundations.
   A financial-statement world: white sheets on warm paper, ink actions,
   one persimmon signal, heavy Satoshi for the numbers that matter,
   hairline rules, tabular figures, and totals closed with the accountant's
   double rule. One typeface (Satoshi, variable 300-900). */

@font-face { font-family: "Satoshi"; src: url("fonts/Satoshi-Variable.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  /* warm paper, ink, one persimmon signal */
  --chrome:   rgba(255, 255, 255, 0.5);
  --chrome-line: rgba(255, 255, 255, 0.7);
  --heading:  #12161F;
  --ink:      #1A202C;
  --ink-2:    #4A5161;   /* 8.0:1 on white */
  --ink-3:    #636A79;   /* 5.5:1 on white */
  --desk:     #F3F1EC;
  --sheet:    #FFFFFF;
  --well:     #F8F7F3;
  --raise:    #FFFFFF;
  --line:     #E3E0D8;
  --line-2:   #EEECE6;
  --line-ink: #12161F;
  --field:    #FFFFFF;
  --field-line: #D3CFC5;
  --field-hover: #B3AEA2;
  --placeholder: #8C909B;

  /* ink does the work; persimmon is the signature */
  --act:       #12161F;   /* primary buttons */
  --act-dk:    #2A3140;
  --signal:    #E2552F;   /* brand mark, focus, step numerals, active marks */
  --signal-tint: #FCEDE7;
  --blue:      #12161F;   /* links are ink, underlined */
  --blue-tint: #EEF1F7;
  --blue-line: #D4DAE6;

  /* states carry meaning only */
  --ok:   #12704A;  --ok-tint:   #E5F3EB;  --ok-line:  #BFE0CC;
  --due:  #8A4D00;  --due-tint:  #FBEFD9;
  --bad:  #B3261E;  --bad-tint:  #FCEBE9;  --bad-line: #F2C9C4;
  --info: #2C4FA3;  --info-tint: #EAF0FB;

  --font: "Satoshi", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --r-1: 4px;
  --r-2: 8px;
  --r-3: 14px;

  --lift: 0 1px 2px rgba(18, 22, 31, 0.04), 0 10px 28px -14px rgba(18, 22, 31, 0.18);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--desk);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--field-line); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--signal); }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: #F9D3C6; color: var(--heading); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; border-radius: 2px; }
input, textarea { caret-color: var(--signal); }
