/* Croquembao design tokens — generated from brand/tokens.json. Edit the JSON, not this file. */

:root {
  --surface-100: #ece7e1;
  --surface-200: #f6f3ef;
  --surface-300: #ded7cd;
  --surface-inverse: #1c2a1d;
  --ink: #1c2a1d;
  --ink-muted: #4f5f53;
  --ink-inverse: #ece7e1;
  --brand: #455650;
  --brand-strong: #34423d;
  --brand-soft: #dbe2dc;
  --on-brand: #ece7e1;
  --line: #d6cec2;
  --line-strong: #7d7365;
  --focus: #1c2a1d;
  --focus-halo: #ece7e1;
  --success: #2f6b45;
  --success-soft: #dde8df;
  --warning: #8a5a12;
  --warning-soft: #f2e7d2;
  --danger: #a13a2b;
  --danger-soft: #f4ddd8;
  --shadow-soft: 0 1px 2px rgba(28, 42, 29, 0.08);
  --shadow-lift: 0 8px 20px rgba(28, 42, 29, 0.14);
  --shadow-focus: 0 0 0 2px #ece7e1, 0 0 0 4px #1c2a1d;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --radius-round: 50%;
  --border-hairline: 1px;
  --border-line: 2px;
  --font-display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --font-sans: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Patrick Hand", "Bradley Hand", cursive;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface-100: #1c2a1d;
    --surface-200: #263528;
    --surface-300: #32422f;
    --surface-inverse: #ece7e1;
    --ink: #ece7e1;
    --ink-muted: #b3c0b5;
    --ink-inverse: #1c2a1d;
    --brand: #8fa79c;
    --brand-strong: #a8bdb2;
    --brand-soft: #27352c;
    --on-brand: #16211a;
    --line: #374a3a;
    --line-strong: #748874;
    --focus: #ece7e1;
    --focus-halo: #1c2a1d;
    --success: #7fbf93;
    --success-soft: #22321f;
    --warning: #e0b263;
    --warning-soft: #332b1c;
    --danger: #e9897a;
    --danger-soft: #33221f;
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-lift: 0 8px 20px rgba(0, 0, 0, 0.5);
    --shadow-focus: 0 0 0 2px #1c2a1d, 0 0 0 4px #ece7e1;
  }
}

:root[data-theme="dark"] {
  --surface-100: #1c2a1d;
  --surface-200: #263528;
  --surface-300: #32422f;
  --surface-inverse: #ece7e1;
  --ink: #ece7e1;
  --ink-muted: #b3c0b5;
  --ink-inverse: #1c2a1d;
  --brand: #8fa79c;
  --brand-strong: #a8bdb2;
  --brand-soft: #27352c;
  --on-brand: #16211a;
  --line: #374a3a;
  --line-strong: #748874;
  --focus: #ece7e1;
  --focus-halo: #1c2a1d;
  --success: #7fbf93;
  --success-soft: #22321f;
  --warning: #e0b263;
  --warning-soft: #332b1c;
  --danger: #e9897a;
  --danger-soft: #33221f;
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-lift: 0 8px 20px rgba(0, 0, 0, 0.5);
  --shadow-focus: 0 0 0 2px #1c2a1d, 0 0 0 4px #ece7e1;
}

@font-face { font-family: "Baloo 2"; src: url("fonts/baloo-2-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Baloo 2"; src: url("fonts/baloo-2-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Patrick Hand"; src: url("fonts/patrick-hand-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

.display-xl { font-family: var(--font-display); font-size: 44px; line-height: 46px; font-weight: 700; letter-spacing: -0.01em; }
.display-lg { font-family: var(--font-display); font-size: 34px; line-height: 38px; font-weight: 700; }
.display-md { font-family: var(--font-display); font-size: 26px; line-height: 30px; font-weight: 500; }
.body-lg { font-family: var(--font-sans); font-size: 18px; line-height: 28px; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 16px; line-height: 26px; font-weight: 400; }
.body-sm { font-family: var(--font-sans); font-size: 14px; line-height: 22px; font-weight: 400; }
.caption { font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 400; }
.label { font-family: var(--font-sans); font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; }
.button { font-family: var(--font-sans); font-size: 16px; line-height: 20px; font-weight: 700; }
.hand-lg { font-family: var(--font-hand); font-size: 28px; line-height: 30px; font-weight: 400; }
.hand-md { font-family: var(--font-hand); font-size: 20px; line-height: 24px; font-weight: 400; }
