/* Ponzi Pump: the banknote. Paper, money-green ink, one green for the action and the climb, gold for money paid out.
   DESIGN.md has the rules. base.css reads these; ponzi.css draws the world. */
@font-face { font-family: "Fraunces"; font-weight: 800; font-display: swap; src: url("/fonts/fraunces-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 900; font-display: swap; src: url("/fonts/fraunces-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-display: swap; src: url("/fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-display: swap; src: url("/fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 700; font-display: swap; src: url("/fonts/public-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 600; font-display: swap; src: url("/fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;

  --bg: #F2EDDB;        /* paper */
  --bg-2: #E9E2CB;
  --surface: #FAF6E9;   /* the note */
  --surface-2: #EFE8D2;

  --line: rgba(14, 38, 25, 0.13);
  --line-2: rgba(14, 38, 25, 0.26);
  --line-3: #0E2619;

  --ink: #0E2619;
  --ink-2: #2F4537;
  --muted: #56665A;

  /* ONE accent, ONE meaning: the action, and how far you climbed */
  --accent: #0E7A44;
  --accent-hi: #169B58;
  --on-accent: #FFFDF6;
  /* money paid out, and the capstone. Never text on paper. */
  --gold: #E0A51C;
  --gold-deep: #8A5F00;

  --good: #1A7F45;
  --bad: #B3261E;
  --warn: #9A6200;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text: "Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --display-weight: 900;
  --display-tracking: -0.03em;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-pill: 999px;
  --border: 1px solid var(--line);
  --rule: 1.5px solid var(--ink);
  --shadow: 0 1px 0 rgba(14, 38, 25, 0.04);
  --stamp: 0 3px 0 var(--ink);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 140ms;
  --t: 280ms;

  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --top-h: 66px;
}
