/* Ra Khách design tokens — concept c2 "Người thật làm thật" (chủ đổi G1a sang c2, 12/10/2026; trước đó là c1).
   File này CHỈ chứa: @font-face, biến CSS (light + dark). Không có style nào khác. Tên biến giữ nguyên từ bản c1.
   Màu light (c2): nền trắng, mặt đá ấm (#F5F1EA), một màu thương hiệu (xanh rừng) + một màu nhấn (vàng hổ phách, chỉ làm NỀN,
   không làm màu chữ trên nền sáng) + 3 màu trạng thái. Dark: chỉ đổi giá trị biến qua prefers-color-scheme; tên biến giữ nguyên. */

/* Font tự host (OFL): Be Vietnam Pro 400/600/700/800 (thân chữ) + Bricolage Grotesque (tiêu đề, giá, số đếm), subset latin + vietnamese.
   Đường dẫn: /fonts/<file>.woff2 — build/build.mjs copy từ docs/design/concepts/fonts/ (kèm OFL.txt). Xem docs/design/components.md §1.
   Bricolage chỉ có một file mỗi subset (bản tải về từ Google Fonts cho cả 600 và 800): khai báo dải 600–800 để trình duyệt
   không tự vẽ đậm giả. */
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/BeVietnamPro-400-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/BeVietnamPro-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/BeVietnamPro-600-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/BeVietnamPro-600-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/BeVietnamPro-700-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/BeVietnamPro-700-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/BeVietnamPro-800-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/BeVietnamPro-800-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/BricolageGrotesque-600-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/BricolageGrotesque-600-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* màu */
  --c-bg: #FFFFFF;
  --c-surface: #F5F1EA;
  --c-ink: #1D1B16;
  --c-muted: #57524A;
  --c-line: #E3DCD0;
  --c-brand: #0F4D3F;
  --c-brand-ink: #FFFFFF;
  --c-accent: #F2B13A;
  --c-ok: #1E6B45;
  --c-warn: #8F5200;
  --c-danger: #B42318;

  /* chữ */
  --f-display: "Bricolage Grotesque", "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-num: "Bricolage Grotesque", "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* khoảng cách */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 72px;

  /* bo góc, bóng, độ rộng đọc */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 28px;
  --shadow-1: 0 10px 30px -12px rgba(29, 27, 22, .25);
  --max-read: 62ch;
}

@media (prefers-color-scheme: dark) {
  :root {
    --c-bg: #13120F;
    --c-surface: #1D1B17;
    --c-ink: #F2EEE6;
    --c-muted: #B9B1A4;
    --c-line: #3B362E;
    --c-brand: #86CDB3;
    --c-brand-ink: #0B2B22;
    --c-accent: #F2B13A;
    --c-ok: #74CF9B;
    --c-warn: #F2A65A;
    --c-danger: #FF8F85;
    --shadow-1: 0 10px 30px -12px rgba(0, 0, 0, .6);
  }
}
