/* Kinglet — generated from tokens.json */

/* Colour and shadow, light theme (the default) */
:root, [data-theme="light"] {
  --ground: #F4F6F7;
  --raised: #FFFFFF;
  --sidebar: #E8EDF0;
  --line: #D3DBE1;
  --border: #748493;
  --ink: #10171E;
  --ink-muted: #4D5C69;
  --on-ink: #F4F6F7;
  --mantle: #A8B7C3;
  --spruce: #1F4A39;
  --crown: #F0B400;
  --crown-soft: #FCF1CC;
  --on-crown: #10171E;
  --ok: #19697F;
  --ok-soft: #DDF0F4;
  --warn: #8F5400;
  --warn-soft: #FBEBD2;
  --danger: #B3261E;
  --danger-soft: #FBE2DF;
  --link: #1F5A86;
  --focus: #1F5A86;
  --shadow-row: 0 1px 2px #10171E14;
  --shadow-panel: 0 2px 6px #10171E0F, 0 16px 40px -8px #10171E33;
}

/* Colour and shadow, dark theme */
[data-theme="dark"] {
  --ground: #0D141B;
  --raised: #16202A;
  --sidebar: #111A23;
  --line: #2A3846;
  --border: #5F7182;
  --ink: #E8EEF2;
  --ink-muted: #9AABB9;
  --on-ink: #0D141B;
  --mantle: #3B4C5B;
  --spruce: #2F7A5C;
  --crown: #FFC93C;
  --crown-soft: #3A2E0A;
  --on-crown: #0D141B;
  --ok: #63C5DA;
  --ok-soft: #0F2E36;
  --warn: #F0B44C;
  --warn-soft: #33240B;
  --danger: #FF7A6E;
  --danger-soft: #3B1714;
  --link: #8CC0E8;
  --focus: #8CC0E8;
  --shadow-row: 0 1px 2px #00000066;
  --shadow-panel: 0 16px 40px -8px #000000B3;
}

/* Spacing, radius and font families (the same in every theme) */
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  --font-display: "Instrument Sans", -apple-system, system-ui, sans-serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* Type styles */
.display-xl { font-family: var(--font-display); font-size: 64px; line-height: 64px; font-weight: 600; letter-spacing: -0.025em; }
.display { font-family: var(--font-display); font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -0.02em; }
.title { font-family: var(--font-display); font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -0.01em; }
.lead { font-family: var(--font-display); font-size: 18px; line-height: 28px; font-weight: 400; }
.body { font-family: var(--font-display); font-size: 16px; line-height: 26px; font-weight: 400; }
.ui-title { font-family: var(--font-ui); font-size: 15px; line-height: 20px; font-weight: 600; }
.ui-body { font-family: var(--font-ui); font-size: 13px; line-height: 18px; font-weight: 400; }
.ui-label { font-family: var(--font-ui); font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.04em; }
.figure { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; }
.figure-lg { font-family: var(--font-mono); font-size: 32px; line-height: 36px; font-weight: 500; letter-spacing: -0.02em; }
