/* Generated from src/ by `pnpm --filter @repo/tokens generate:css`. Don't edit by hand.

   Set data-theme="paper|mono|bound" on an element (html for the whole page)
   and, to force a scheme, data-scheme="light|dark". Without data-scheme it follows the OS. */

:root {
  --space-0: 0px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --layout-sidebar-breakpoint: 768px;
  --layout-wide-breakpoint: 1100px;
  --layout-sidebar-width: 240px;
  --layout-sidebar-row: 36px;
  --layout-sidebar-indent: 14px;
  --layout-hit-target: 44px;
  --layout-bar-height: 52px;
  --layout-symbol-column: 24px;
  --layout-signifier-column: 16px;
  --duration-instant: 90ms;
  --duration-quick: 150ms;
  --duration-base: 220ms;
  --duration-gentle: 320ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-enter: cubic-bezier(0, 0, 0.2, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --shadow-raised: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-overlay: 0 12px 32px rgba(0, 0, 0, 0.16);
}

/* Paper: Warm stationery, black ink, one indigo */

:root:not([data-theme]),
[data-theme="paper"] {
  --font-display: 'Fraunces', Georgia, serif;
  --font-text: 'Instrument Sans', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-ui: 'Instrument Sans', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-numeric: 'Instrument Sans', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --type-title-font: var(--font-display);
  --type-title-weight: 300;
  --type-title-style: normal;
  --type-title-size: 42px;
  --type-title-line: 45px;
  --type-title-tracking: -0.024em;
  --type-title-transform: none;
  --type-title-numeric: normal;
  --type-title-compact-font: var(--font-display);
  --type-title-compact-weight: 300;
  --type-title-compact-style: normal;
  --type-title-compact-size: 33px;
  --type-title-compact-line: 36px;
  --type-title-compact-tracking: -0.024em;
  --type-title-compact-transform: none;
  --type-title-compact-numeric: normal;
  --type-overline-font: var(--font-ui);
  --type-overline-weight: 400;
  --type-overline-style: normal;
  --type-overline-size: 14px;
  --type-overline-line: 20px;
  --type-overline-tracking: 0;
  --type-overline-transform: none;
  --type-overline-numeric: normal;
  --type-heading-font: var(--font-display);
  --type-heading-weight: 300;
  --type-heading-style: normal;
  --type-heading-size: 26px;
  --type-heading-line: 29px;
  --type-heading-tracking: -0.024em;
  --type-heading-transform: none;
  --type-heading-numeric: normal;
  --type-subheading-font: var(--font-ui);
  --type-subheading-weight: 600;
  --type-subheading-style: normal;
  --type-subheading-size: 16px;
  --type-subheading-line: 24px;
  --type-subheading-tracking: -0.01em;
  --type-subheading-transform: none;
  --type-subheading-numeric: normal;
  --type-body-font: var(--font-text);
  --type-body-weight: 400;
  --type-body-style: normal;
  --type-body-size: 15px;
  --type-body-line: 22px;
  --type-body-tracking: 0;
  --type-body-transform: none;
  --type-body-numeric: normal;
  --type-ui-font: var(--font-ui);
  --type-ui-weight: 400;
  --type-ui-style: normal;
  --type-ui-size: 14px;
  --type-ui-line: 20px;
  --type-ui-tracking: 0;
  --type-ui-transform: none;
  --type-ui-numeric: normal;
  --type-label-font: var(--font-ui);
  --type-label-weight: 600;
  --type-label-style: normal;
  --type-label-size: 12.5px;
  --type-label-line: 16px;
  --type-label-tracking: 0;
  --type-label-transform: none;
  --type-label-numeric: normal;
  --type-caption-font: var(--font-ui);
  --type-caption-weight: 400;
  --type-caption-style: normal;
  --type-caption-size: 12.5px;
  --type-caption-line: 16px;
  --type-caption-tracking: 0;
  --type-caption-transform: none;
  --type-caption-numeric: tabular-nums;
  --type-time-font: var(--font-numeric);
  --type-time-weight: 400;
  --type-time-style: normal;
  --type-time-size: 12.5px;
  --type-time-line: 16px;
  --type-time-tracking: 0;
  --type-time-transform: none;
  --type-time-numeric: tabular-nums;
  --type-symbol-font: var(--font-text);
  --type-symbol-weight: 500;
  --type-symbol-style: normal;
  --type-symbol-size: 16px;
  --type-symbol-line: 24px;
  --type-symbol-tracking: 0;
  --type-symbol-transform: none;
  --type-symbol-numeric: normal;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --measure: 680px;
  --page-inset: 0px;
  --page-radius: 0px;
  --row-rule-width: 1px;
  --inset-border-width: 0px;
  --inset-border-style: solid;
  --today-ribbon-display: block;
  --today-edge-width: 0px;
  --wordmark-style: roman;
  --color-bg-app: #fbfaf7;
  --color-bg-desk: #f3f1ec;
  --color-bg-sidebar: #f3f1ec;
  --color-bg-raised: #ffffff;
  --color-bg-inset: #f2f0ea;
  --color-bg-field: #efede7;
  --color-bg-field-hover: #e7e4dd;
  --color-bg-selected: #e9e6df;
  --color-bg-pressed: #f1efe9;
  --color-bg-scrim: rgba(28, 26, 23, 0.32);
  --color-text-primary: #1c1a17;
  --color-text-secondary: #625d55;
  --color-text-muted: #716d67;
  --color-text-on-accent: #ffffff;
  --color-border-subtle: #e7e4dd;
  --color-border-strong: #8d8981;
  --color-border-focus: #2f4a8f;
  --color-border-sheet: rgba(28, 26, 23, 0.06);
  --color-accent-default: #2f4a8f;
  --color-accent-pressed: #263d78;
  --color-accent-soft: #e8ecf6;
  --color-action-default: #1c1a17;
  --color-action-pressed: #38342e;
  --color-action-on: #fbfaf7;
  --color-nav-text: #1c1a17;
  --color-nav-muted: #625d55;
  --color-nav-hover: #eae7e0;
  --color-nav-selected: #e4e1d9;
  --color-nav-line: #e2dfd7;
  --color-signifier-priority: #2f4a8f;
  --color-signifier-idea: #625d55;
  --color-status-synced: #3d7a5a;
  --color-status-syncing: #716d67;
  --color-status-offline: #8f6209;
  --color-status-error: #b3261e;
  --color-status-error-soft: #f8e1de;
  --color-paper-line: #e9e6de;
  --color-paper-dot: #cfcabf;
  --color-ink-pen-ink: #1c1a17;
  --color-ink-pen-blue: #2f4a8f;
  --color-ink-pen-red: #b83a2e;
  --color-ink-pen-green: #2f6e4f;
  --color-ink-highlighter-yellow: #f3d64e66;
  --color-ink-highlighter-green: #98d4a866;
  --color-ink-highlighter-pink: #f2a6c066;
  --color-cover-slate: #56789e;
  --color-cover-clay: #a8714d;
  --color-cover-moss: #6e8459;
  --color-cover-plum: #7f5c8c;
  --color-cover-ochre: #b88e33;
  --color-cover-teal: #3f8783;
  --color-shadow-sheet: 0px 0px 0px rgba(0, 0, 0, 0);
  --color-shadow-raised: 0px 1px 2px rgba(28, 26, 23, 0.05), 0px 0px 0px 1px rgba(28, 26, 23, 0.05);
  --color-shadow-float: 0px 1px 2px rgba(28, 26, 23, 0.06), 0px 12px 32px -8px rgba(28, 26, 23, 0.16), 0px 0px 0px 1px rgba(28, 26, 23, 0.05);
}

:root:not([data-theme])[data-scheme="dark"],
[data-theme="paper"][data-scheme="dark"] {
  --color-bg-app: #191816;
  --color-bg-desk: #121110;
  --color-bg-sidebar: #121110;
  --color-bg-raised: #23211e;
  --color-bg-inset: #1f1d1a;
  --color-bg-field: #262421;
  --color-bg-field-hover: #2f2c28;
  --color-bg-selected: #2b2925;
  --color-bg-pressed: #201e1b;
  --color-bg-scrim: rgba(0, 0, 0, 0.55);
  --color-text-primary: #ece9e3;
  --color-text-secondary: #a9a49b;
  --color-text-muted: #88847c;
  --color-text-on-accent: #121110;
  --color-border-subtle: #2b2926;
  --color-border-strong: #716d65;
  --color-border-focus: #9db4f0;
  --color-border-sheet: rgba(255, 255, 255, 0.06);
  --color-accent-default: #9db4f0;
  --color-accent-pressed: #b5c6f5;
  --color-accent-soft: #1f2842;
  --color-action-default: #ece9e3;
  --color-action-pressed: #ffffff;
  --color-action-on: #191816;
  --color-nav-text: #ece9e3;
  --color-nav-muted: #a9a49b;
  --color-nav-hover: #1c1b18;
  --color-nav-selected: #262421;
  --color-nav-line: #232120;
  --color-signifier-priority: #9db4f0;
  --color-signifier-idea: #a9a49b;
  --color-status-synced: #7fbf9a;
  --color-status-syncing: #88847c;
  --color-status-offline: #e0a54a;
  --color-status-error: #f07a70;
  --color-status-error-soft: #3a1f1c;
  --color-paper-line: #262421;
  --color-paper-dot: #3b3833;
  --color-ink-pen-ink: #ece9e3;
  --color-ink-pen-blue: #9db4f0;
  --color-ink-pen-red: #ee8b6a;
  --color-ink-pen-green: #8fc6a0;
  --color-ink-highlighter-yellow: #e6c84a55;
  --color-ink-highlighter-green: #6fbf8a55;
  --color-ink-highlighter-pink: #e58aae55;
  --color-cover-slate: #7f9dc2;
  --color-cover-clay: #c88e68;
  --color-cover-moss: #92a87a;
  --color-cover-plum: #a585b2;
  --color-cover-ochre: #d3ad57;
  --color-cover-teal: #67aea9;
  --color-shadow-sheet: 0px 0px 0px rgba(0, 0, 0, 0);
  --color-shadow-raised: 0px 0px 0px 1px rgba(255, 255, 255, 0.06);
  --color-shadow-float: 0px 0px 0px 1px rgba(255, 255, 255, 0.09), 0px 16px 40px -12px rgba(0, 0, 0, 0.6);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]):not([data-scheme="light"]),
[data-theme="paper"]:not([data-scheme="light"]) {
    --color-bg-app: #191816;
    --color-bg-desk: #121110;
    --color-bg-sidebar: #121110;
    --color-bg-raised: #23211e;
    --color-bg-inset: #1f1d1a;
    --color-bg-field: #262421;
    --color-bg-field-hover: #2f2c28;
    --color-bg-selected: #2b2925;
    --color-bg-pressed: #201e1b;
    --color-bg-scrim: rgba(0, 0, 0, 0.55);
    --color-text-primary: #ece9e3;
    --color-text-secondary: #a9a49b;
    --color-text-muted: #88847c;
    --color-text-on-accent: #121110;
    --color-border-subtle: #2b2926;
    --color-border-strong: #716d65;
    --color-border-focus: #9db4f0;
    --color-border-sheet: rgba(255, 255, 255, 0.06);
    --color-accent-default: #9db4f0;
    --color-accent-pressed: #b5c6f5;
    --color-accent-soft: #1f2842;
    --color-action-default: #ece9e3;
    --color-action-pressed: #ffffff;
    --color-action-on: #191816;
    --color-nav-text: #ece9e3;
    --color-nav-muted: #a9a49b;
    --color-nav-hover: #1c1b18;
    --color-nav-selected: #262421;
    --color-nav-line: #232120;
    --color-signifier-priority: #9db4f0;
    --color-signifier-idea: #a9a49b;
    --color-status-synced: #7fbf9a;
    --color-status-syncing: #88847c;
    --color-status-offline: #e0a54a;
    --color-status-error: #f07a70;
    --color-status-error-soft: #3a1f1c;
    --color-paper-line: #262421;
    --color-paper-dot: #3b3833;
    --color-ink-pen-ink: #ece9e3;
    --color-ink-pen-blue: #9db4f0;
    --color-ink-pen-red: #ee8b6a;
    --color-ink-pen-green: #8fc6a0;
    --color-ink-highlighter-yellow: #e6c84a55;
    --color-ink-highlighter-green: #6fbf8a55;
    --color-ink-highlighter-pink: #e58aae55;
    --color-cover-slate: #7f9dc2;
    --color-cover-clay: #c88e68;
    --color-cover-moss: #92a87a;
    --color-cover-plum: #a585b2;
    --color-cover-ochre: #d3ad57;
    --color-cover-teal: #67aea9;
    --color-shadow-sheet: 0px 0px 0px rgba(0, 0, 0, 0);
    --color-shadow-raised: 0px 0px 0px 1px rgba(255, 255, 255, 0.06);
    --color-shadow-float: 0px 0px 0px 1px rgba(255, 255, 255, 0.09), 0px 16px 40px -12px rgba(0, 0, 0, 0.6);
  }
}

/* Mono: Cool monochrome, one signal orange */

[data-theme="mono"] {
  --font-display: 'Geist', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-text: 'Geist', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-ui: 'Geist', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-numeric: 'Geist Mono', ui-monospace, Menlo, monospace;
  --type-title-font: var(--font-display);
  --type-title-weight: 600;
  --type-title-style: normal;
  --type-title-size: 43px;
  --type-title-line: 46px;
  --type-title-tracking: -0.035em;
  --type-title-transform: none;
  --type-title-numeric: normal;
  --type-title-compact-font: var(--font-display);
  --type-title-compact-weight: 600;
  --type-title-compact-style: normal;
  --type-title-compact-size: 34px;
  --type-title-compact-line: 37px;
  --type-title-compact-tracking: -0.035em;
  --type-title-compact-transform: none;
  --type-title-compact-numeric: normal;
  --type-overline-font: var(--font-ui);
  --type-overline-weight: 400;
  --type-overline-style: normal;
  --type-overline-size: 14px;
  --type-overline-line: 20px;
  --type-overline-tracking: 0;
  --type-overline-transform: none;
  --type-overline-numeric: normal;
  --type-heading-font: var(--font-display);
  --type-heading-weight: 600;
  --type-heading-style: normal;
  --type-heading-size: 26px;
  --type-heading-line: 29px;
  --type-heading-tracking: -0.035em;
  --type-heading-transform: none;
  --type-heading-numeric: normal;
  --type-subheading-font: var(--font-ui);
  --type-subheading-weight: 600;
  --type-subheading-style: normal;
  --type-subheading-size: 16px;
  --type-subheading-line: 24px;
  --type-subheading-tracking: -0.01em;
  --type-subheading-transform: none;
  --type-subheading-numeric: normal;
  --type-body-font: var(--font-text);
  --type-body-weight: 400;
  --type-body-style: normal;
  --type-body-size: 15px;
  --type-body-line: 22px;
  --type-body-tracking: 0;
  --type-body-transform: none;
  --type-body-numeric: normal;
  --type-ui-font: var(--font-ui);
  --type-ui-weight: 400;
  --type-ui-style: normal;
  --type-ui-size: 14px;
  --type-ui-line: 20px;
  --type-ui-tracking: 0;
  --type-ui-transform: none;
  --type-ui-numeric: normal;
  --type-label-font: var(--font-ui);
  --type-label-weight: 600;
  --type-label-style: normal;
  --type-label-size: 12.5px;
  --type-label-line: 16px;
  --type-label-tracking: 0;
  --type-label-transform: none;
  --type-label-numeric: normal;
  --type-caption-font: var(--font-ui);
  --type-caption-weight: 400;
  --type-caption-style: normal;
  --type-caption-size: 12.5px;
  --type-caption-line: 16px;
  --type-caption-tracking: 0;
  --type-caption-transform: none;
  --type-caption-numeric: tabular-nums;
  --type-time-font: var(--font-numeric);
  --type-time-weight: 400;
  --type-time-style: normal;
  --type-time-size: 12.5px;
  --type-time-line: 16px;
  --type-time-tracking: 0;
  --type-time-transform: none;
  --type-time-numeric: tabular-nums;
  --type-symbol-font: var(--font-text);
  --type-symbol-weight: 500;
  --type-symbol-style: normal;
  --type-symbol-size: 16px;
  --type-symbol-line: 24px;
  --type-symbol-tracking: 0;
  --type-symbol-transform: none;
  --type-symbol-numeric: normal;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --measure: 680px;
  --page-inset: 0px;
  --page-radius: 0px;
  --row-rule-width: 1px;
  --inset-border-width: 0px;
  --inset-border-style: solid;
  --today-ribbon-display: block;
  --today-edge-width: 0px;
  --wordmark-style: roman;
  --color-bg-app: #ffffff;
  --color-bg-desk: #f6f6f7;
  --color-bg-sidebar: #f6f6f7;
  --color-bg-raised: #ffffff;
  --color-bg-inset: #f4f4f5;
  --color-bg-field: #f1f1f3;
  --color-bg-field-hover: #e8e8eb;
  --color-bg-selected: #ebebee;
  --color-bg-pressed: #f4f4f5;
  --color-bg-scrim: rgba(15, 16, 18, 0.32);
  --color-text-primary: #0f1012;
  --color-text-secondary: #55575c;
  --color-text-muted: #6e7075;
  --color-text-on-accent: #ffffff;
  --color-border-subtle: #e8e8eb;
  --color-border-strong: #898b90;
  --color-border-focus: #c54418;
  --color-border-sheet: rgba(15, 16, 18, 0.07);
  --color-accent-default: #c54418;
  --color-accent-pressed: #a83a13;
  --color-accent-soft: #fdece5;
  --color-action-default: #0f1012;
  --color-action-pressed: #2b2d31;
  --color-action-on: #ffffff;
  --color-nav-text: #0f1012;
  --color-nav-muted: #55575c;
  --color-nav-hover: #ececef;
  --color-nav-selected: #e6e6ea;
  --color-nav-line: #e8e8eb;
  --color-signifier-priority: #c54418;
  --color-signifier-idea: #55575c;
  --color-status-synced: #2f7a55;
  --color-status-syncing: #6e7075;
  --color-status-offline: #8f6209;
  --color-status-error: #c4232b;
  --color-status-error-soft: #fbe3e4;
  --color-paper-line: #ececef;
  --color-paper-dot: #cfd0d5;
  --color-ink-pen-ink: #0f1012;
  --color-ink-pen-blue: #2b4fd8;
  --color-ink-pen-red: #b83a2e;
  --color-ink-pen-green: #2f6e4f;
  --color-ink-highlighter-yellow: #f3d64e66;
  --color-ink-highlighter-green: #98d4a866;
  --color-ink-highlighter-pink: #f2a6c066;
  --color-cover-slate: #56789e;
  --color-cover-clay: #a8714d;
  --color-cover-moss: #6e8459;
  --color-cover-plum: #7f5c8c;
  --color-cover-ochre: #b88e33;
  --color-cover-teal: #3f8783;
  --color-shadow-sheet: 0px 0px 0px rgba(0, 0, 0, 0);
  --color-shadow-raised: 0px 1px 2px rgba(15, 16, 18, 0.05), 0px 0px 0px 1px rgba(15, 16, 18, 0.06);
  --color-shadow-float: 0px 1px 2px rgba(15, 16, 18, 0.06), 0px 12px 32px -8px rgba(15, 16, 18, 0.16), 0px 0px 0px 1px rgba(15, 16, 18, 0.06);
}

[data-theme="mono"][data-scheme="dark"] {
  --color-bg-app: #111113;
  --color-bg-desk: #0b0b0c;
  --color-bg-sidebar: #0b0b0c;
  --color-bg-raised: #1b1b1e;
  --color-bg-inset: #17171a;
  --color-bg-field: #1e1e22;
  --color-bg-field-hover: #28282d;
  --color-bg-selected: #232327;
  --color-bg-pressed: #18181b;
  --color-bg-scrim: rgba(0, 0, 0, 0.6);
  --color-text-primary: #ededef;
  --color-text-secondary: #a1a1a8;
  --color-text-muted: #808087;
  --color-text-on-accent: #0b0b0c;
  --color-border-subtle: #232327;
  --color-border-strong: #67676e;
  --color-border-focus: #ff7a45;
  --color-border-sheet: rgba(255, 255, 255, 0.07);
  --color-accent-default: #ff7a45;
  --color-accent-pressed: #ff976b;
  --color-accent-soft: #3a1d12;
  --color-action-default: #ededef;
  --color-action-pressed: #ffffff;
  --color-action-on: #111113;
  --color-nav-text: #ededef;
  --color-nav-muted: #a1a1a8;
  --color-nav-hover: #161618;
  --color-nav-selected: #1e1e22;
  --color-nav-line: #1c1c1f;
  --color-signifier-priority: #ff7a45;
  --color-signifier-idea: #a1a1a8;
  --color-status-synced: #7fbf9a;
  --color-status-syncing: #808087;
  --color-status-offline: #e0a54a;
  --color-status-error: #f2777d;
  --color-status-error-soft: #3a1b1d;
  --color-paper-line: #1e1e22;
  --color-paper-dot: #34343a;
  --color-ink-pen-ink: #ededef;
  --color-ink-pen-blue: #8ea3ff;
  --color-ink-pen-red: #ee8b6a;
  --color-ink-pen-green: #8fc6a0;
  --color-ink-highlighter-yellow: #e6c84a55;
  --color-ink-highlighter-green: #6fbf8a55;
  --color-ink-highlighter-pink: #e58aae55;
  --color-cover-slate: #7f9dc2;
  --color-cover-clay: #c88e68;
  --color-cover-moss: #92a87a;
  --color-cover-plum: #a585b2;
  --color-cover-ochre: #d3ad57;
  --color-cover-teal: #67aea9;
  --color-shadow-sheet: 0px 0px 0px rgba(0, 0, 0, 0);
  --color-shadow-raised: 0px 0px 0px 1px rgba(255, 255, 255, 0.07);
  --color-shadow-float: 0px 0px 0px 1px rgba(255, 255, 255, 0.1), 0px 16px 40px -12px rgba(0, 0, 0, 0.7);
}

@media (prefers-color-scheme: dark) {
  [data-theme="mono"]:not([data-scheme="light"]) {
    --color-bg-app: #111113;
    --color-bg-desk: #0b0b0c;
    --color-bg-sidebar: #0b0b0c;
    --color-bg-raised: #1b1b1e;
    --color-bg-inset: #17171a;
    --color-bg-field: #1e1e22;
    --color-bg-field-hover: #28282d;
    --color-bg-selected: #232327;
    --color-bg-pressed: #18181b;
    --color-bg-scrim: rgba(0, 0, 0, 0.6);
    --color-text-primary: #ededef;
    --color-text-secondary: #a1a1a8;
    --color-text-muted: #808087;
    --color-text-on-accent: #0b0b0c;
    --color-border-subtle: #232327;
    --color-border-strong: #67676e;
    --color-border-focus: #ff7a45;
    --color-border-sheet: rgba(255, 255, 255, 0.07);
    --color-accent-default: #ff7a45;
    --color-accent-pressed: #ff976b;
    --color-accent-soft: #3a1d12;
    --color-action-default: #ededef;
    --color-action-pressed: #ffffff;
    --color-action-on: #111113;
    --color-nav-text: #ededef;
    --color-nav-muted: #a1a1a8;
    --color-nav-hover: #161618;
    --color-nav-selected: #1e1e22;
    --color-nav-line: #1c1c1f;
    --color-signifier-priority: #ff7a45;
    --color-signifier-idea: #a1a1a8;
    --color-status-synced: #7fbf9a;
    --color-status-syncing: #808087;
    --color-status-offline: #e0a54a;
    --color-status-error: #f2777d;
    --color-status-error-soft: #3a1b1d;
    --color-paper-line: #1e1e22;
    --color-paper-dot: #34343a;
    --color-ink-pen-ink: #ededef;
    --color-ink-pen-blue: #8ea3ff;
    --color-ink-pen-red: #ee8b6a;
    --color-ink-pen-green: #8fc6a0;
    --color-ink-highlighter-yellow: #e6c84a55;
    --color-ink-highlighter-green: #6fbf8a55;
    --color-ink-highlighter-pink: #e58aae55;
    --color-cover-slate: #7f9dc2;
    --color-cover-clay: #c88e68;
    --color-cover-moss: #92a87a;
    --color-cover-plum: #a585b2;
    --color-cover-ochre: #d3ad57;
    --color-cover-teal: #67aea9;
    --color-shadow-sheet: 0px 0px 0px rgba(0, 0, 0, 0);
    --color-shadow-raised: 0px 0px 0px 1px rgba(255, 255, 255, 0.07);
    --color-shadow-float: 0px 0px 0px 1px rgba(255, 255, 255, 0.1), 0px 16px 40px -12px rgba(0, 0, 0, 0.7);
  }
}

/* Bound: An ivory page on a green cover, brass */

[data-theme="bound"] {
  --font-display: 'Newsreader', Georgia, serif;
  --font-text: 'Hanken Grotesk', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-ui: 'Hanken Grotesk', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-numeric: 'Hanken Grotesk', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --type-title-font: var(--font-display);
  --type-title-weight: 400;
  --type-title-style: normal;
  --type-title-size: 46px;
  --type-title-line: 49px;
  --type-title-tracking: -0.02em;
  --type-title-transform: none;
  --type-title-numeric: normal;
  --type-title-compact-font: var(--font-display);
  --type-title-compact-weight: 400;
  --type-title-compact-style: normal;
  --type-title-compact-size: 36px;
  --type-title-compact-line: 39px;
  --type-title-compact-tracking: -0.02em;
  --type-title-compact-transform: none;
  --type-title-compact-numeric: normal;
  --type-overline-font: var(--font-ui);
  --type-overline-weight: 400;
  --type-overline-style: normal;
  --type-overline-size: 14px;
  --type-overline-line: 20px;
  --type-overline-tracking: 0;
  --type-overline-transform: none;
  --type-overline-numeric: normal;
  --type-heading-font: var(--font-display);
  --type-heading-weight: 400;
  --type-heading-style: normal;
  --type-heading-size: 28px;
  --type-heading-line: 31px;
  --type-heading-tracking: -0.02em;
  --type-heading-transform: none;
  --type-heading-numeric: normal;
  --type-subheading-font: var(--font-ui);
  --type-subheading-weight: 600;
  --type-subheading-style: normal;
  --type-subheading-size: 16px;
  --type-subheading-line: 24px;
  --type-subheading-tracking: -0.01em;
  --type-subheading-transform: none;
  --type-subheading-numeric: normal;
  --type-body-font: var(--font-text);
  --type-body-weight: 400;
  --type-body-style: normal;
  --type-body-size: 15px;
  --type-body-line: 22px;
  --type-body-tracking: 0;
  --type-body-transform: none;
  --type-body-numeric: normal;
  --type-ui-font: var(--font-ui);
  --type-ui-weight: 400;
  --type-ui-style: normal;
  --type-ui-size: 14px;
  --type-ui-line: 20px;
  --type-ui-tracking: 0;
  --type-ui-transform: none;
  --type-ui-numeric: normal;
  --type-label-font: var(--font-ui);
  --type-label-weight: 600;
  --type-label-style: normal;
  --type-label-size: 12.5px;
  --type-label-line: 16px;
  --type-label-tracking: 0;
  --type-label-transform: none;
  --type-label-numeric: normal;
  --type-caption-font: var(--font-ui);
  --type-caption-weight: 400;
  --type-caption-style: normal;
  --type-caption-size: 12.5px;
  --type-caption-line: 16px;
  --type-caption-tracking: 0;
  --type-caption-transform: none;
  --type-caption-numeric: tabular-nums;
  --type-time-font: var(--font-numeric);
  --type-time-weight: 400;
  --type-time-style: normal;
  --type-time-size: 12.5px;
  --type-time-line: 16px;
  --type-time-tracking: 0;
  --type-time-transform: none;
  --type-time-numeric: tabular-nums;
  --type-symbol-font: var(--font-text);
  --type-symbol-weight: 500;
  --type-symbol-style: normal;
  --type-symbol-size: 16px;
  --type-symbol-line: 24px;
  --type-symbol-tracking: 0;
  --type-symbol-transform: none;
  --type-symbol-numeric: normal;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --measure: 680px;
  --page-inset: 10px;
  --page-radius: 14px;
  --row-rule-width: 1px;
  --inset-border-width: 0px;
  --inset-border-style: solid;
  --today-ribbon-display: block;
  --today-edge-width: 0px;
  --wordmark-style: roman;
  --color-bg-app: #faf7f0;
  --color-bg-desk: #1d3a32;
  --color-bg-sidebar: #1d3a32;
  --color-bg-raised: #ffffff;
  --color-bg-inset: #f1ede3;
  --color-bg-field: #eeeade;
  --color-bg-field-hover: #e5e0d2;
  --color-bg-selected: #e8e3d6;
  --color-bg-pressed: #f1ede3;
  --color-bg-scrim: rgba(18, 30, 26, 0.4);
  --color-text-primary: #1b2420;
  --color-text-secondary: #5a625c;
  --color-text-muted: #676d66;
  --color-text-on-accent: #ffffff;
  --color-border-subtle: #e6e1d4;
  --color-border-strong: #88887d;
  --color-border-focus: #86671e;
  --color-border-sheet: rgba(0, 0, 0, 0.2);
  --color-accent-default: #86671e;
  --color-accent-pressed: #6f5416;
  --color-accent-soft: #f3ead2;
  --color-action-default: #1d3a32;
  --color-action-pressed: #284c42;
  --color-action-on: #faf7f0;
  --color-nav-text: #f2efe6;
  --color-nav-muted: #a9b8b1;
  --color-nav-hover: #25463d;
  --color-nav-selected: #2c5248;
  --color-nav-line: #2a4a41;
  --color-signifier-priority: #86671e;
  --color-signifier-idea: #5a625c;
  --color-status-synced: #6fbf96;
  --color-status-syncing: #676d66;
  --color-status-offline: #e0a54a;
  --color-status-error: #a8321f;
  --color-status-error-soft: #f6e0da;
  --color-paper-line: #e8e3d6;
  --color-paper-dot: #cdc7b6;
  --color-ink-pen-ink: #1b2420;
  --color-ink-pen-blue: #2d4f7c;
  --color-ink-pen-red: #b83a2e;
  --color-ink-pen-green: #2f6e4f;
  --color-ink-highlighter-yellow: #f3d64e66;
  --color-ink-highlighter-green: #98d4a866;
  --color-ink-highlighter-pink: #f2a6c066;
  --color-cover-slate: #56789e;
  --color-cover-clay: #a8714d;
  --color-cover-moss: #6e8459;
  --color-cover-plum: #7f5c8c;
  --color-cover-ochre: #b88e33;
  --color-cover-teal: #3f8783;
  --color-shadow-sheet: 0px 1px 2px rgba(0, 0, 0, 0.25), 0px 12px 40px -8px rgba(0, 0, 0, 0.35);
  --color-shadow-raised: 0px 1px 2px rgba(27, 36, 32, 0.06), 0px 0px 0px 1px rgba(27, 36, 32, 0.06);
  --color-shadow-float: 0px 1px 2px rgba(27, 36, 32, 0.08), 0px 12px 32px -8px rgba(27, 36, 32, 0.2), 0px 0px 0px 1px rgba(27, 36, 32, 0.06);
}

[data-theme="bound"][data-scheme="dark"] {
  --color-bg-app: #151b19;
  --color-bg-desk: #0c1714;
  --color-bg-sidebar: #0c1714;
  --color-bg-raised: #1f2623;
  --color-bg-inset: #1a211e;
  --color-bg-field: #222a27;
  --color-bg-field-hover: #2b3430;
  --color-bg-selected: #26302c;
  --color-bg-pressed: #1b2220;
  --color-bg-scrim: rgba(0, 0, 0, 0.6);
  --color-text-primary: #e9e6dc;
  --color-text-secondary: #a5aaa2;
  --color-text-muted: #828880;
  --color-text-on-accent: #0c1714;
  --color-border-subtle: #262e2b;
  --color-border-strong: #69716a;
  --color-border-focus: #d4b15f;
  --color-border-sheet: rgba(255, 255, 255, 0.07);
  --color-accent-default: #d4b15f;
  --color-accent-pressed: #e1c47e;
  --color-accent-soft: #2f2a17;
  --color-action-default: #e9e6dc;
  --color-action-pressed: #ffffff;
  --color-action-on: #151b19;
  --color-nav-text: #e9e6dc;
  --color-nav-muted: #8f9b95;
  --color-nav-hover: #14211d;
  --color-nav-selected: #1b2b26;
  --color-nav-line: #16231f;
  --color-signifier-priority: #d4b15f;
  --color-signifier-idea: #a5aaa2;
  --color-status-synced: #7fbf9a;
  --color-status-syncing: #828880;
  --color-status-offline: #e0a54a;
  --color-status-error: #ee8b6a;
  --color-status-error-soft: #3a2019;
  --color-paper-line: #222a27;
  --color-paper-dot: #38413d;
  --color-ink-pen-ink: #e9e6dc;
  --color-ink-pen-blue: #8fa9d6;
  --color-ink-pen-red: #ee8b6a;
  --color-ink-pen-green: #8fc6a0;
  --color-ink-highlighter-yellow: #e6c84a55;
  --color-ink-highlighter-green: #6fbf8a55;
  --color-ink-highlighter-pink: #e58aae55;
  --color-cover-slate: #7f9dc2;
  --color-cover-clay: #c88e68;
  --color-cover-moss: #92a87a;
  --color-cover-plum: #a585b2;
  --color-cover-ochre: #d3ad57;
  --color-cover-teal: #67aea9;
  --color-shadow-sheet: 0px 0px 0px 1px rgba(255, 255, 255, 0.06);
  --color-shadow-raised: 0px 0px 0px 1px rgba(255, 255, 255, 0.06);
  --color-shadow-float: 0px 0px 0px 1px rgba(255, 255, 255, 0.1), 0px 16px 40px -12px rgba(0, 0, 0, 0.7);
}

@media (prefers-color-scheme: dark) {
  [data-theme="bound"]:not([data-scheme="light"]) {
    --color-bg-app: #151b19;
    --color-bg-desk: #0c1714;
    --color-bg-sidebar: #0c1714;
    --color-bg-raised: #1f2623;
    --color-bg-inset: #1a211e;
    --color-bg-field: #222a27;
    --color-bg-field-hover: #2b3430;
    --color-bg-selected: #26302c;
    --color-bg-pressed: #1b2220;
    --color-bg-scrim: rgba(0, 0, 0, 0.6);
    --color-text-primary: #e9e6dc;
    --color-text-secondary: #a5aaa2;
    --color-text-muted: #828880;
    --color-text-on-accent: #0c1714;
    --color-border-subtle: #262e2b;
    --color-border-strong: #69716a;
    --color-border-focus: #d4b15f;
    --color-border-sheet: rgba(255, 255, 255, 0.07);
    --color-accent-default: #d4b15f;
    --color-accent-pressed: #e1c47e;
    --color-accent-soft: #2f2a17;
    --color-action-default: #e9e6dc;
    --color-action-pressed: #ffffff;
    --color-action-on: #151b19;
    --color-nav-text: #e9e6dc;
    --color-nav-muted: #8f9b95;
    --color-nav-hover: #14211d;
    --color-nav-selected: #1b2b26;
    --color-nav-line: #16231f;
    --color-signifier-priority: #d4b15f;
    --color-signifier-idea: #a5aaa2;
    --color-status-synced: #7fbf9a;
    --color-status-syncing: #828880;
    --color-status-offline: #e0a54a;
    --color-status-error: #ee8b6a;
    --color-status-error-soft: #3a2019;
    --color-paper-line: #222a27;
    --color-paper-dot: #38413d;
    --color-ink-pen-ink: #e9e6dc;
    --color-ink-pen-blue: #8fa9d6;
    --color-ink-pen-red: #ee8b6a;
    --color-ink-pen-green: #8fc6a0;
    --color-ink-highlighter-yellow: #e6c84a55;
    --color-ink-highlighter-green: #6fbf8a55;
    --color-ink-highlighter-pink: #e58aae55;
    --color-cover-slate: #7f9dc2;
    --color-cover-clay: #c88e68;
    --color-cover-moss: #92a87a;
    --color-cover-plum: #a585b2;
    --color-cover-ochre: #d3ad57;
    --color-cover-teal: #67aea9;
    --color-shadow-sheet: 0px 0px 0px 1px rgba(255, 255, 255, 0.06);
    --color-shadow-raised: 0px 0px 0px 1px rgba(255, 255, 255, 0.06);
    --color-shadow-float: 0px 0px 0px 1px rgba(255, 255, 255, 0.1), 0px 16px 40px -12px rgba(0, 0, 0, 0.7);
  }
}

/* The website (design: design-os website section). Colours, type and radii come from
   @repo/tokens' tokens.css, which the build puts in front of this file. Always Paper: the
   site has no theme setting; dark follows the visitor's system. */

@font-face { font-family: "Fraunces"; font-weight: 300; font-display: swap; src: url("/assets/fonts-Fraunces_300Light.5fcf12a9b5b1.ttf") format("truetype"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url("/assets/fonts-InstrumentSans_400Regular.a22cb26e48fd.ttf") format("truetype"); }
@font-face { font-family: "Instrument Sans"; font-weight: 500; font-display: swap; src: url("/assets/fonts-InstrumentSans_500Medium.55c9b7e83315.ttf") format("truetype"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url("/assets/fonts-InstrumentSans_600SemiBold.cb2231708f82.ttf") format("truetype"); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--color-bg-app);
  color: var(--color-text-primary);
  font: 400 16px/1.5 var(--font-ui);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
:focus-visible { outline: 2px solid var(--color-border-focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
@media (min-width: 640px) { .wrap { padding-left: 32px; padding-right: 32px; } }

/* Type */
.title { font-family: var(--font-display); font-weight: 300; letter-spacing: -0.024em; text-wrap: balance; }
.hero-title { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); line-height: 1.04; max-width: 48rem; margin: 0 auto; }
.display { font-size: 2.25rem; line-height: 1.08; }
.lead { font-size: 1rem; line-height: 1.5rem; }
.one { font-size: 1.1875rem; line-height: 1.625rem; letter-spacing: -0.01em; font-weight: 600; }
.small { font-size: 0.875rem; line-height: 1.25rem; }
.caption { font-size: 0.78125rem; line-height: 1rem; }
.strong { font-weight: 600; }
.muted { color: var(--color-text-secondary); }
.faint { color: var(--color-text-muted); }
.ink { color: var(--color-text-primary); display: inline-flex; }
.center { text-align: center; }
.narrow { max-width: 42rem; }
.space { margin-top: 16px; }
.space-lg { margin-top: 40px; }

/* Header */
.bar { position: sticky; top: 0; z-index: 30; background: var(--color-bg-app); border-bottom: 1px solid var(--color-border-subtle); }
.bar-row { display: flex; align-items: center; justify-content: space-between; height: 64px; position: relative; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--font-display); font-weight: 300; font-size: 1.25rem; line-height: 1; letter-spacing: -0.024em; }
.brand svg { width: 28px; height: 28px; }
.mark-dot { fill: var(--color-accent-default); }
.bar-links { display: flex; gap: 32px; font-size: 0.875rem; color: var(--color-text-secondary); }
.bar-links a, .bar-signin, .foot a { text-decoration: none; }
.bar-links a:hover, .bar-signin:hover, .foot a:hover { color: var(--color-text-primary); }
.bar-signin-menu { display: none; }
.bar-end { display: flex; align-items: center; gap: 12px; }
.bar-signin { font-size: 0.875rem; color: var(--color-text-secondary); }
.menu-button { display: none; width: 44px; height: 44px; place-items: center; border: 0; border-radius: var(--radius-sm); background: none; color: var(--color-text-secondary); font-size: 20px; cursor: pointer; }
@media (max-width: 767px) {
  .menu-button { display: grid; }
  .bar-links { display: none; }
  .bar-links.open {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--color-bg-app); border-bottom: 1px solid var(--color-border-subtle); padding: 8px 20px 16px;
  }
  .bar-links.open a { padding: 12px 0; font-size: 1rem; color: var(--color-text-primary); }
  .bar-signin-menu { display: block; }
}
@media (max-width: 639px) { .bar-signin { display: none; } }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: var(--radius-sm); font-size: 0.875rem; font-weight: 600; text-decoration: none; transition: background-color 150ms var(--ease-standard); }
.button.primary { background: var(--color-action-default); color: var(--color-action-on); }
.button.primary:hover { background: var(--color-action-pressed); }
.button.ghost { color: var(--color-text-secondary); font-weight: 400; }
.button.ghost:hover { background: var(--color-bg-field); color: var(--color-text-primary); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* Sections */
.sunken { background: var(--color-bg-desk); }
.section { padding-top: 80px; padding-bottom: 80px; }
.flush-top { padding-top: 0; }
.ruled { border-top: 1px solid var(--color-border-subtle); }
.hero { padding-top: 64px; padding-bottom: 64px; text-align: center; }
@media (min-width: 640px) { .hero { padding-top: 96px; } }
.hero-lead { max-width: 36rem; margin: 20px auto 0; }
.hero-shot { max-width: 64rem; margin: 56px auto 32px; }

/* Product pictures: the real screens, drawn in the design and saved as pictures. */
.frame { overflow: hidden; background: var(--color-bg-app); box-shadow: var(--color-shadow-float); }
.frame.wide { border-radius: var(--radius-lg); aspect-ratio: 16 / 10; }
.frame.wide .shot { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.frame.phone { display: none; width: 100%; max-width: 340px; margin: 0 auto; border-radius: 36px; outline: 8px solid var(--color-text-primary); }
@media (max-width: 767px) {
  .hero-shot .frame.wide { display: none; }
  .hero-shot .frame.phone { display: block; }
}

/* How it works */
.how { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .how { grid-template-columns: 2fr 3fr; } }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.tabs button {
  height: 44px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--color-bg-field); color: var(--color-text-secondary); font: inherit; font-size: 0.875rem;
  transition: background-color 150ms var(--ease-standard), color 150ms var(--ease-standard);
}
@media (min-width: 640px) { .tabs button { height: 36px; } }
.tabs button:hover { color: var(--color-text-primary); }
.tabs button[aria-selected="true"] { background: var(--color-action-default); color: var(--color-action-on); font-weight: 600; }
.tab-text { margin-top: 32px; }
.tab-text p { margin-top: 8px; }

/* One app */
.two { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .two { grid-template-columns: 1fr 1fr; } }
.pair { display: grid; gap: 16px; }
@media (min-width: 640px) { .pair { grid-template-columns: 1fr 1fr; } }
.card { background: var(--color-bg-app); border-radius: var(--radius-md); padding: 16px; box-shadow: var(--color-shadow-raised); }
.card .caption { margin-bottom: 8px; }
.entry { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9375rem; line-height: 1.375rem; }
.entry > span:nth-child(2) { flex: 1; }
.tick { flex: none; width: 18px; height: 18px; margin-top: 2px; border: 1.5px solid var(--color-border-strong); border-radius: 999px; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 8px; background: var(--color-bg-field); color: var(--color-text-secondary); font-size: 0.78125rem; }
.rule { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--color-border-subtle); }

/* Rituals, It's yours */
.three { display: grid; gap: 40px; margin-top: 40px; }
@media (min-width: 768px) { .three { grid-template-columns: repeat(3, 1fr); } }
.three p { margin-top: 8px; }
.feature-icon { display: block; font-size: 22px; color: var(--color-text-secondary); margin-bottom: 12px; }

/* Devices */
.devices { width: 100%; max-width: 48rem; margin-top: 32px; border-collapse: collapse; text-align: left; font-size: 0.875rem; }
.devices th { padding: 8px 0; font-weight: 400; font-size: 0.78125rem; color: var(--color-text-muted); border-bottom: 1px solid var(--color-border-subtle); }
.devices td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--color-border-subtle); }
.with-icon { display: inline-flex; align-items: center; gap: 6px; }
.with-icon svg { font-size: 15px; }

/* Footer */
.foot { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 40px; padding-bottom: 40px; font-size: 0.875rem; color: var(--color-text-muted); }
@media (min-width: 640px) { .foot { flex-direction: row; justify-content: space-between; } }
.foot-links { display: flex; gap: 24px; }

/* Privacy and terms: one readable column. */
.doc { max-width: calc(var(--measure) + 64px); padding-top: 64px; padding-bottom: 64px; }
.doc h1 { font-size: 2.625rem; line-height: 1.07; margin-bottom: 8px; }
.doc .intro { margin: 24px 0 32px; }
.doc section { margin-bottom: 28px; }
.doc h2 { font-size: 1rem; line-height: 1.5rem; margin-bottom: 10px; }
.doc p, .doc li { font-size: 1rem; line-height: 1.6; }
.doc p.caption { font-size: 0.78125rem; line-height: 1rem; }
.doc p + p, .doc ul + p, .doc p + ul { margin-top: 10px; }
.doc ul { margin: 0; padding-left: 20px; }
.doc li + li { margin-top: 6px; }
.doc li::marker { color: var(--color-text-muted); }
