/*
  Folio tokens. Change these to restyle the page.
  The same names are used in react/src/folio/tokens.css and in the Figma file.
*/
:root {
  --fo-bg: #fafaf8;
  --fo-surface: #ffffff;
  --fo-ink: #121212;
  --fo-ink-soft: #3d3a35;
  --fo-muted: #6e6b63;
  --fo-line: #e8e6e0;
  --fo-accent: #ff6a4d;
  --fo-accent-text: #c2410c;
  --fo-on-accent: #121212;
  --fo-focus: #d9452a;
  --fo-scrim: rgb(18 18 18 / 0.32);
  --fo-shadow: 0 30px 80px rgb(18 18 18 / 0.18);

  /* Artwork colours. The art is a picture, so it stays the same in both themes. */
  --fo-art-sky: #cfe6f2;
  --fo-art-sand: #ede4d3;
  --fo-art-sage: #dcebd8;
  --fo-art-lilac: #e9e2f4;
  --fo-art-paper: #ffffff;
  --fo-art-ink: #121212;
  --fo-art-coral: #ff6a4d;
  --fo-art-leaf: #3f7d4e;

  --fo-radius: 20px;
  --fo-card-radius: 14px;
  /* Intended fonts: DM Sans and DM Mono. See START-HERE.md to add them. */
  --fo-font: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fo-font-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Motion: see motion.md */
  --fo-duration: 560ms;
  --fo-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fo-fade: 200ms;
}

[data-theme="dark"] {
  --fo-bg: #121211;
  --fo-surface: #1c1c1a;
  --fo-ink: #f2f1ec;
  --fo-ink-soft: #cfccc4;
  --fo-muted: #a3a097;
  --fo-line: #2e2d2a;
  --fo-accent: #ff7a5e;
  --fo-accent-text: #ff9b85;
  --fo-on-accent: #121212;
  --fo-focus: #ff8a70;
  --fo-scrim: rgb(0 0 0 / 0.6);
  --fo-shadow: 0 30px 80px rgb(0 0 0 / 0.55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fo-bg: #121211;
    --fo-surface: #1c1c1a;
    --fo-ink: #f2f1ec;
    --fo-ink-soft: #cfccc4;
    --fo-muted: #a3a097;
    --fo-line: #2e2d2a;
    --fo-accent: #ff7a5e;
    --fo-accent-text: #ff9b85;
    --fo-on-accent: #121212;
    --fo-focus: #ff8a70;
    --fo-scrim: rgb(0 0 0 / 0.6);
    --fo-shadow: 0 30px 80px rgb(0 0 0 / 0.55);
  }
}
