/* fys-lint-ignore-file: this is the ONLY file allowed to contain literal colors, fonts and sizes. See DESIGN.md. */
/* v5 (2026-11-29, D172): warm paper with white panels on it, a warm well, three washes of color, a size for section headings. v3 (D92) was white on white. */
:root {
  --fys-paper-base: #faf7f2; /* fys-lint-ignore */  /* page: warm off-white, so white panels lift off it */
  --fys-surface: #ffffff;    /* fys-lint-ignore */  /* panels, cards, inputs, dialogs */
  --fys-well: #f1ece4;       /* fys-lint-ignore */  /* a step down from paper: bands, tiles, covers, the active sidebar item */
  --fys-ink-base: #0b0b0c;   /* fys-lint-ignore */  /* text */
  --fys-muted: #67635c;      /* fys-lint-ignore */  /* secondary text */
  --fys-line: #e3ddd3;       /* fys-lint-ignore */  /* hairlines */
  --fys-accent: #ff3b00;     /* fys-lint-ignore */  /* the one thing that matters on a page */
  --fys-free: #2f6fed;       /* fys-lint-ignore */  /* where you are; the logo's word */
  --fys-good: #1f7a3d;       /* fys-lint-ignore */  /* free, done, paid */
  --fys-wash-blue: #e8f0fd;  /* fys-lint-ignore */  /* professionals; the band behind a choice */
  --fys-wash-green: #e6f2e4; /* fys-lint-ignore */  /* households; a free chip */
  --fys-wash-amber: #fbeed2; /* fys-lint-ignore */  /* landlords */
  --fys-wash-orange: #ffeee6; /* fys-lint-ignore */ /* the panel that matters */
  --fys-f: var(--fys-accent);
  --fys-rule: var(--fys-line);
  --fys-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; /* fys-lint-ignore */ /* reading */
  --fys-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;               /* fys-lint-ignore */ /* commands, ids, money */
  /* three sizes on a page, plus the display size for the front-page hero (DESIGN.md) */
  --fys-text-xl: 3.5rem;     /* fys-lint-ignore */  /* the front-page hero line only */
  --fys-text-lg: 2.25rem;    /* fys-lint-ignore */  /* the page title, big numbers */
  --fys-text-md: 1.5rem;     /* fys-lint-ignore */  /* a section's heading */
  --fys-text: 1rem;          /* fys-lint-ignore */  /* everything */
  --fys-text-sm: 0.8125rem;  /* fys-lint-ignore */  /* meta, tags, footers */
  --fys-size: 16px;          /* fys-lint-ignore */
  --fys-lh: 1.55;
  --fys-measure: 64ch;        /* prose */
  --fys-wide: 1100px;         /* fys-lint-ignore */  /* the page */
  --fys-space: 1rem;
  --fys-radius: 12px;        /* fys-lint-ignore */  /* panels, cards, dialogs, covers */
  --fys-radius-sm: 8px;      /* fys-lint-ignore */  /* inputs, code, small tiles */
  --fys-pill: 999px;         /* fys-lint-ignore */  /* buttons, chips, tabs, the sidebar item */
  --fys-border: 1px solid var(--fys-rule);
  color-scheme: light;
}
/* The site is light. Dark is opt-in only: set data-theme="dark" on <html>. The OS setting is not followed (the founder asked for white, 2026-11-10). */
:root[data-theme="dark"] { color-scheme: dark;
  --fys-paper-base: #0f0f10; /* fys-lint-ignore */
  --fys-surface: #161618;    /* fys-lint-ignore */
  --fys-well: #1c1c1f;       /* fys-lint-ignore */
  --fys-ink-base: #f2f2f3;   /* fys-lint-ignore */
  --fys-muted: #9a9ea6;      /* fys-lint-ignore */
  --fys-line: #2a2a2e;       /* fys-lint-ignore */
  --fys-free: #6d9bff;       /* fys-lint-ignore */
  --fys-good: #6fcf8a;       /* fys-lint-ignore */
  --fys-wash-blue: #182338;  /* fys-lint-ignore */
  --fys-wash-green: #17291b; /* fys-lint-ignore */
  --fys-wash-amber: #2e2612; /* fys-lint-ignore */
  --fys-wash-orange: #33190f; /* fys-lint-ignore */
}
/* Inside an MCP Apps iframe the host owns the theme. If it exposes these, we follow it.
   The base tokens exist so this mapping is not a cycle: a custom property that names itself is invalid everywhere. */
:root {
  --fys-paper: var(--host-background, var(--fys-paper-base));
  --fys-ink: var(--host-foreground, var(--fys-ink-base));
}
