/*
  Tally tokens. Change these to restyle the component.
  The same names are used in react/src/tally/tokens.css and in the Figma file.
*/
:root {
  --tl-bg: #f4f4f5;
  --tl-surface: #ffffff;
  --tl-ink: #18181b;
  --tl-muted: #6b6b72;
  --tl-line: #e4e4e7;
  --tl-body: #3f3f46;
  --tl-accent: #ff4d00;
  --tl-accent-text: #c43c00;
  --tl-on-accent: #18181b;
  --tl-focus: #ff4d00;
  --tl-ghost: #d4d4d8;
  --tl-shadow: 0 1px 2px rgb(24 24 27 / 0.04);

  /* The raised plan (Pro in the demo). */
  --tl-featured-bg: #18181b;
  --tl-featured-ink: #ffffff;
  --tl-featured-muted: #a1a1aa;
  --tl-featured-body: #e4e4e7;
  --tl-featured-ghost: #3f3f46;
  --tl-featured-focus: #ff6a2b;
  --tl-featured-shadow: 0 30px 70px rgb(24 24 27 / 0.25);

  --tl-radius: 20px;
  --tl-button-radius: 10px;
  --tl-lift: 14px;
  --tl-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Motion: see motion.md */
  --tl-duration: 900ms;
  --tl-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --tl-fade: 160ms;
}

[data-theme="dark"] {
  --tl-bg: #0f0f11;
  --tl-surface: #1c1c1f;
  --tl-ink: #f4f4f5;
  --tl-muted: #a1a1aa;
  --tl-line: #2e2e33;
  --tl-body: #d4d4d8;
  --tl-accent: #ff6a2b;
  --tl-accent-text: #ff8a5c;
  --tl-on-accent: #18181b;
  --tl-focus: #ff8a5c;
  --tl-ghost: #3f3f46;
  --tl-shadow: 0 1px 2px rgb(0 0 0 / 0.3);
  --tl-featured-bg: #f4f4f5;
  --tl-featured-ink: #18181b;
  --tl-featured-muted: #5f5f66;
  --tl-featured-body: #3f3f46;
  --tl-featured-ghost: #d4d4d8;
  --tl-featured-focus: #c43c00;
  --tl-featured-shadow: 0 30px 70px rgb(0 0 0 / 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --tl-bg: #0f0f11;
    --tl-surface: #1c1c1f;
    --tl-ink: #f4f4f5;
    --tl-muted: #a1a1aa;
    --tl-line: #2e2e33;
    --tl-body: #d4d4d8;
    --tl-accent: #ff6a2b;
    --tl-accent-text: #ff8a5c;
    --tl-on-accent: #18181b;
    --tl-focus: #ff8a5c;
    --tl-ghost: #3f3f46;
    --tl-shadow: 0 1px 2px rgb(0 0 0 / 0.3);
    --tl-featured-bg: #f4f4f5;
    --tl-featured-ink: #18181b;
    --tl-featured-muted: #5f5f66;
    --tl-featured-body: #3f3f46;
    --tl-featured-ghost: #d4d4d8;
    --tl-featured-focus: #c43c00;
    --tl-featured-shadow: 0 30px 70px rgb(0 0 0 / 0.5);
  }
}
