/*
 * Chạm Loa — base layer (P1, DEMO_V2_PARITY_RULES §4).
 * Values are the EFFECTIVE page base measured on every Demo V2 route
 * (qa/parity/source/base/audit.md, scripts/parity/audit-base.mjs), not a
 * redesign: html/body computed values and the reset every Demo family CSS
 * shares. Family-specific element resets (img, button…) arrive with each
 * family's ported CSS in @layer demo (P3).
 */
/* Owner OD-1104-11 (Q-DS-01): Inter is self-hosted so every device renders the
   designed typeface, with full Vietnamese coverage. */
/* Inter variable 100–900, subset: vietnamese (SIL OFL 1.1, public/fonts/inter/LICENSE.txt) */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter/inter-var-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;
}
/* Inter variable 100–900, subset: latin-ext (SIL OFL 1.1, public/fonts/inter/LICENSE.txt) */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter/inter-var-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter variable 100–900, subset: latin (SIL OFL 1.1, public/fonts/inter/LICENSE.txt) */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter/inter-var-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;
}

@layer base {
  /* Shared by every Demo V2 family stylesheet + shared/global-v14-details.css */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body {
    margin: 0;
    min-width: 0;
    overflow-x: clip;
    background: #fafaf7;
    color: #101a20;
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: normal;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  body.clu-lock { overflow: hidden !important; }
  /* Measured per family (audit 390/900/1440; R-IDs in audit.md). */
  body[data-family="home"] { background: #f6f9fa; color: #10202a; }                       /* R01 */
  body[data-family="service"] { font-size: 14px; }                                          /* R09–R10 */
  body[data-family="brand"] { font-size: 15px; }                                            /* R11–R12 */
  body[data-family="video"] { color: #102932; }                                             /* R17 */
  body[data-family="deal"] { font-size: 14px; line-height: 21px; }                         /* R18–R19 */
  body[data-family="about"], body[data-family="contact"] { font-size: 14px; line-height: 22.4px; } /* R22–R23 */
  .visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .skip-link { position: absolute; left: 16px; top: -100px; z-index: 300;
    padding: 12px 20px; background: #101a20; color: #fff; }
  .skip-link:focus { top: 16px; }
  /* Slot wrappers that must not add a box (keeps parent grid/flex). */
  .gs-slot-contents { display: contents; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, ::before, ::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  }
}
