/* Ledged design system: shared by the public site and authenticated workspace. */
:root {
  color-scheme: light;
  --ledger-cobalt: #4055e8;
  --ledger-cobalt-strong: #2739bd;
  --ledger-navy: #111d3a;
  --ledger-lavender: #8495ff;
  --ledger-canvas: #f7f9fe;
  --ledger-surface: #ffffff;
  --ledger-surface-soft: #f1f4ff;
  --ledger-ink: #17213c;
  --ledger-muted: #66708a;
  --ledger-muted-strong: #47516b;
  --ledger-line: #e4e8f3;
  --ledger-line-strong: #d6dcef;
  --ledger-success: #16785f;
  --ledger-success-soft: #e8f7f1;
  --ledger-warning: #a76616;
  --ledger-warning-soft: #fff5e6;
  --ledger-danger: #bb3e55;
  --ledger-danger-soft: #fff0f3;
  --ledger-info-soft: #eef0ff;
  --ledger-shadow-xs: 0 2px 5px rgba(17, 29, 58, 0.04);
  --ledger-shadow-sm: 0 10px 28px rgba(29, 43, 85, 0.07);
  --ledger-shadow-md: 0 24px 64px rgba(29, 43, 85, 0.1);
  --ledger-radius-sm: 10px;
  --ledger-radius-md: 16px;
  --ledger-radius-lg: 22px;
  --ledger-radius-xl: 30px;
  --ledger-font-display: "Avenir Next", "Segoe UI Variable", "SF Pro Display", "Trebuchet MS", sans-serif;
  --ledger-font-body: "Avenir Next", "Segoe UI Variable", "SF Pro Text", "Helvetica Neue", sans-serif;
  --ledger-ease: cubic-bezier(.2, .8, .2, 1);
  --ledger-focus: 0 0 0 4px rgba(64, 85, 232, 0.18);
  --background: var(--ledger-canvas);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ledger-font-body);
  color: var(--ledger-ink);
  background: var(--ledger-canvas);
}

button,
input,
select,
textarea { font: inherit; }

button,
a,
input,
select,
textarea { -webkit-tap-highlight-color: transparent; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible { outline: none; box-shadow: var(--ledger-focus); }

::selection { color: #fff; background: var(--ledger-cobalt); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
