/* Hallmark · macrostructure family: Narrative Workflow / Ecosystem Index / Long Document / Split Studio · nav: edge-aligned minimal · footer: Ft5 Statement
 * pre-emit critique: P5 H5 E4 S5 R5 V4 · contrast: pass (40-41) · nav: N9 · footer: Ft5 · slop: pass (42-45) · honest: pass (46) · chrome: pass (47) · tokens: pass (48) · responsive: pass (49) · mobile: pass (34, 50-57) · icons: pass (30)
 * theme: custom · vibe: "technical pool-blue, athletic, calm" · paper: oklch(98% 0.008 235) · accent: oklch(48% 0.18 245)
 * display: Sora · body: Be Vietnam Pro · axes: light / geometric-sans / cool · studied: no · context: inferred · v0.8.0
 */
/* @font-face nhúng thẳng, KHÔNG dùng <link> tới Google Fonts.
 * Lý do: Pagelayer gom mọi stylesheet Google Fonts thành MỘT url v1 do nó tự dựng
 * (init.php ~dòng 838) → mọi link css2 mình enqueue đều bị nuốt: cân 800 và cả họ
 * IBM Plex Mono biến mất khỏi HTML. Khai báo tại chỗ nên không ai gom được nữa.
 * Cân 400/500/600/700 của Be Vietnam Pro vẫn do link của Pagelayer nạp. */
/* Be Vietnam Pro 800 · vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/bevietnampro/v12/QdVMSTAyLFyeg_IDWvOJmVES_HSQI286Rb0bcw.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;
}
/* Be Vietnam Pro 800 · latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/bevietnampro/v12/QdVMSTAyLFyeg_IDWvOJmVES_HSQI287Rb0bcw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Be Vietnam Pro 800 · latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/bevietnampro/v12/QdVMSTAyLFyeg_IDWvOJmVES_HSQI281Rb0.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;
}
/* IBM Plex Mono 500 · latin (chỉ dùng cho chữ số & nhãn, không cần dấu tiếng Việt) */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ibmplexmono/v20/-F6qfjptAgt5VM-kVkqdyU8n3twJwlBFgg.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 {
  --color-paper: oklch(98% 0.008 235);
  --color-paper-2: oklch(96.5% 0.010 235);
  --color-paper-3: oklch(93% 0.014 235);
  --color-ink: oklch(20% 0.025 245);
  --color-ink-2: oklch(32% 0.028 243);
  --color-rule: oklch(72% 0.025 238);
  --color-rule-2: oklch(84% 0.020 238);
  --color-muted: oklch(40% 0.026 240);
  --color-neutral: oklch(34% 0.026 240);
  --color-accent: oklch(48% 0.18 245);
  --color-accent-hover: oklch(42% 0.17 245);
  --color-accent-ink: oklch(98% 0.008 235);
  --color-focus: oklch(32% 0.18 245);
  --color-error: oklch(48% 0.18 28);
  --color-success: oklch(42% 0.13 155);

  /* Hệ chữ MỘT họ: Be Vietnam Pro là font duy nhất có bộ dấu tiếng Việt đầy đủ.
   * Sora (bản gốc) KHÔNG có subset vietnamese → mọi dấu ế/ộ/ữ sẽ vỡ, nên đã bỏ.
   * Phân cấp tạo bằng ĐỘ ĐẬM + CỠ + TRACKING, không bằng font thứ hai. */
  --font-display: "Be Vietnam Pro", system-ui, sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, Arial, sans-serif;
  --font-outlier: "IBM Plex Mono", "Courier New", monospace;

  --display-weight: 800;
  --display-style: normal;
  --tracking-display: -0.018em;
  --tracking-label: 0.1em;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.375rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.25rem;
  --text-3xl: 3rem;
  --text-display: clamp(2.375rem, 5.4vw, 4.5rem);

  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
  --space-5xl: 14rem;
  --page-gutter: clamp(1rem, 4vw, 4rem);
  --content-wide: 82rem;
  --content-prose: 65ch;

  --rule-hair: 1px;
  --rule-fine: 2px;
  --radius-card: 0.25rem;
  --radius-pill: 999px;
  --radius-input: 0.25rem;
  --shadow-card: 0 1rem 3rem oklch(20% 0.025 245 / 0.08);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --dur-long: 420ms;
}
