/* squiggli design tokens. Generated from tokens.json; edit that file, not this one. */
@import url("https://fonts.googleapis.com/css2?family=Familjen+Grotesk:wght@500;700&family=Instrument+Sans:wght@400;600&family=Martian+Mono&family=La+Belle+Aurore&display=swap");

:root {
  --paper: #f6f7fb;
  --paper-raised: #ffffff;
  --line: #dfe2ec;
  --line-strong: #7a819a;
  --ink: #141a2e;
  --ink-muted: #5a6178;
  --biro: #2340c8;
  --biro-hover: #1a32a6;
  --biro-soft: #e4e9ff;
  --on-biro: #ffffff;
  --flag: #ffc933;
  --on-flag: #1a1405;
  --declined: #b3261e;
  --declined-soft: #fde6e3;
  --focus-ring: var(--biro);
  --link: var(--biro);
  --shadow-sheet: 0 1px 2px rgba(20, 26, 46, 0.06), 0 6px 16px rgba(20, 26, 46, 0.07);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --font-display: "Familjen Grotesk", "Instrument Sans", system-ui, sans-serif;
  --font-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-signature: "La Belle Aurore", "Segoe Script", "Bradley Hand", cursive;
  color-scheme: light;
}

/* Dark theme: follows the OS unless the app forces light with data-theme="light". */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #10131c;
    --paper-raised: #181c28;
    --line: #2a3042;
    --line-strong: #6b7290;
    --ink: #eef0f7;
    --ink-muted: #a3a9bd;
    --biro: #8ea2ff;
    --biro-hover: #a9b8ff;
    --biro-soft: #1b2350;
    --on-biro: #10131c;
    --flag: #ffcf4d;
    --on-flag: #1a1405;
    --declined: #ff8a7a;
    --declined-soft: #3d1512;
    --focus-ring: var(--biro);
    --link: var(--biro);
    --shadow-sheet: 0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 16px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #10131c;
  --paper-raised: #181c28;
  --line: #2a3042;
  --line-strong: #6b7290;
  --ink: #eef0f7;
  --ink-muted: #a3a9bd;
  --biro: #8ea2ff;
  --biro-hover: #a9b8ff;
  --biro-soft: #1b2350;
  --on-biro: #10131c;
  --flag: #ffcf4d;
  --on-flag: #1a1405;
  --declined: #ff8a7a;
  --declined-soft: #3d1512;
  --focus-ring: var(--biro);
  --link: var(--biro);
  --shadow-sheet: 0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 16px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

body { background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-size: 15px; line-height: 24px; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* Type styles */
.text-display-xl { font-family: var(--font-display); font-size: 64px; line-height: 60px; font-weight: 700; letter-spacing: -0.03em; }
.text-display-l { font-family: var(--font-display); font-size: 40px; line-height: 44px; font-weight: 700; letter-spacing: -0.02em; }
.text-heading { font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.01em; }
.text-body-l { font-family: var(--font-sans); font-size: 18px; line-height: 28px; font-weight: 400; }
.text-body { font-family: var(--font-sans); font-size: 15px; line-height: 24px; font-weight: 400; }
.text-label { font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 600; }
.text-caption { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 400; }
.text-code { font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 400; }
.text-signature { font-family: var(--font-signature); font-size: 32px; line-height: 40px; font-weight: 400; }
