/* Canopy Forest — generated from tokens.json */
:root, [data-theme="light"] {
  --g900: #0e2a1f;
  --g800: #123a2a;
  --g700: #1c4d38;
  --g600: #2a6a4a;
  --g500: #3d8b5f;
  --g300: #9cc9a6;
  --g100: #e3efe3;
  --g50: #f0f6ef;
  --page: #f4f6f1;
  --card: #ffffff;
  --ink: #14261d;
  --text: #2a3a31;
  --muted: #5a6b61;
  --line: #e2e9e1;
  --blue: #2b4c8c;
  --blue-bg: #e8eef9;
  --amber: #8a5a12;
  --amber-bg: #faf1df;
  --red: #9c3327;
  --red-bg: #faeae7;
  --btn: #1c4d38;
  --on-btn: #ffffff;
  --hero: #123a2a;
  --on-hero: #ffffff;
  --shadow: 0 1px 2px rgba(14,42,31,.06),0 14px 34px -18px rgba(14,42,31,.28);
}
[data-theme="dark"] {
  --g700: #8fcb9f;
  --g600: #7dbf8f;
  --g500: #6cb380;
  --g100: #1c3327;
  --g50: #16271e;
  --page: #0b1410;
  --card: #14201a;
  --ink: #eaf1eb;
  --text: #d3ddd5;
  --muted: #9aaa9f;
  --line: #24332b;
  --blue: #a9c0f0;
  --blue-bg: #1a2540;
  --amber: #ebcb8e;
  --amber-bg: #2e2614;
  --red: #f2aea4;
  --red-bg: #331c19;
  --btn: #8fcb9f;
  --on-btn: #0e2a1f;
  --shadow: 0 14px 34px -18px rgba(0,0,0,.7);
}
:root {
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-14: 14px;
  --space-16: 16px;
  --space-18: 18px;
  --space-26: 26px;
  --space-32: 32px;
  --space-44: 44px;
  --space-lift: 64px;
  --radius-bar: 4px;
  --radius-sm: 8px;
  --radius-row: 10px;
  --radius-btn: 14px;
  --radius-panel: 16px;
  --radius-card: 22px;
  --radius-pill: 999px;
  --target-min: 44px;
  --btn-height: 50px;
  --badge-size: 52px;
  --row-min: 54px;
  --reader-max: 760px;
  --wrap-max: 1080px;
  --font-sans: 'DM Sans','PingFang SC','PingFang HK','Noto Sans SC','Microsoft YaHei',-apple-system,system-ui,'Segoe UI',sans-serif;
  --font-sans-hant: 'DM Sans','PingFang HK','PingFang TC','Noto Sans TC','Microsoft JhengHei',-apple-system,system-ui,sans-serif;
}
.display-brand { font-family: var(--font-sans); font-size: 3.5rem; line-height: 1.1; font-weight: 600; letter-spacing: 0.07em; }
.title-page { font-family: var(--font-sans); font-size: 2.75rem; line-height: 1.16; font-weight: 650; letter-spacing: -0.01em; }
.title-hero { font-family: var(--font-sans); font-size: 1.875rem; line-height: 1.16; font-weight: 600; letter-spacing: -0.01em; }
.display-welcome { font-family: var(--font-sans); font-size: 1.625rem; line-height: 1.55; font-weight: 500; }
.hero-sub { font-family: var(--font-sans); font-size: 1.125rem; line-height: 1.55; font-weight: 400; }
.title-section { font-family: var(--font-sans); font-size: 1.375rem; line-height: 1.55; font-weight: 650; }
.title-card { font-family: var(--font-sans); font-size: 1.25rem; line-height: 1.55; font-weight: 650; }
.title-role { font-family: var(--font-sans); font-size: 1.1875rem; line-height: 1.2; font-weight: 650; }
.title-part { font-family: var(--font-sans); font-size: 1.125rem; line-height: 1.3; font-weight: 650; }
.body { font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.55; font-weight: 400; }
.body-strong { font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.55; font-weight: 650; }
.row-title { font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.3; font-weight: 600; }
.button { font-family: var(--font-sans); font-size: 1rem; line-height: 1.55; font-weight: 650; }
.nav-link { font-family: var(--font-sans); font-size: 0.9375rem; line-height: 1.55; font-weight: 500; }
.small { font-family: var(--font-sans); font-size: 0.875rem; line-height: 1.55; font-weight: 400; }
.label { font-family: var(--font-sans); font-size: 0.8125rem; line-height: 1.55; font-weight: 650; }
.label-caps { font-family: var(--font-sans); font-size: 0.75rem; line-height: 1.55; font-weight: 650; letter-spacing: 0.12em; }
.label-caps-sm { font-family: var(--font-sans); font-size: 0.6875rem; line-height: 1.55; font-weight: 650; letter-spacing: 0.1em; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
