/* AI-SMARTSERVE landing page. Nền tảng: font tự host, token màu và chữ lấy từ Figma v2.8 (file bUXBvNftJ9zCDZxk04qWbj, trang 02). */

@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/be-vietnam-pro-vietnamese-400-normal.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; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/be-vietnam-pro-latin-400-normal.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; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/be-vietnam-pro-vietnamese-600-normal.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; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/be-vietnam-pro-latin-600-normal.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; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/be-vietnam-pro-vietnamese-700-normal.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; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/be-vietnam-pro-latin-700-normal.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, tên theo biến Figma color/* */
  --cream: #f6f1e7;
  --white: #ffffff;
  --sand: #efe7d8;
  --brown: #5a4030;
  --brown-dark: #3e2a1e;
  --brown-soft: #8b6b4e;
  --latte: #d9c5ae;
  --olive: #6f7d4b;
  --olive-text: #5c6a3b;
  --olive-soft: #dde3c6;
  --ink: #2b2420;
  --muted: #6b625a;
  --on-brand: #fff8ee;
  --border: #e2d9cb;
  --screen: #fbf8f2;

  /* bóng, theo effect style Shadow card và Shadow soft */
  --shadow-card: 0 10px 30px rgba(62, 42, 30, 0.08), 0 1px 2px rgba(62, 42, 30, 0.06);
  --shadow-soft: 0 24px 60px rgba(43, 36, 32, 0.18), 0 2px 6px rgba(43, 36, 32, 0.08);

  /* bo góc */
  --r-6: 6px; --r-8: 8px; --r-12: 12px; --r-16: 16px; --r-20: 20px; --r-24: 24px; --r-pill: 999px;

  /* khoảng cách */
  --s-4: 4px; --s-8: 8px; --s-12: 12px; --s-16: 16px; --s-20: 20px; --s-24: 24px; --s-32: 32px; --s-40: 40px; --s-48: 48px; --s-56: 56px; --s-64: 64px; --s-80: 80px; --s-96: 96px; --s-112: 112px;

  /* chữ: Display 60/104, H1 48/110, H2 36/116, H3 24/128, Body L 20/150, Body 16/160, Small 14/150, Button 16/120 */
  --font: "Be Vietnam Pro", "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(48px, calc((100vw - 1200px) / 2), 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; color-scheme: light; }
[id] { scroll-margin-top: 104px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a, button, input, select, label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; border-radius: var(--r-8); }
.sr-only { 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: -48px; z-index: 100; padding: 10px 16px; background: var(--brown); color: var(--on-brand); border-radius: var(--r-12); }
.skip-link:focus { top: 16px; }

/* thang chữ */
.display { font-size: 60px; line-height: 1.04; font-weight: 700; letter-spacing: -0.015em; }
.h1 { font-size: 48px; line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; }
.h2 { font-size: 36px; line-height: 1.16; font-weight: 600; letter-spacing: -0.005em; }
.h3 { font-size: 24px; line-height: 1.28; font-weight: 600; }
.body-l { font-size: 20px; line-height: 1.5; }
.body { font-size: 16px; line-height: 1.6; }
.small { font-size: 14px; line-height: 1.5; }
.muted { color: var(--muted); }
.balance { text-wrap: balance; }

/* nút, theo component Button/* */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 47px; padding: 14px 24px; border-radius: var(--r-12); font-weight: 600; font-size: 16px; line-height: 1.2; white-space: nowrap; transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brown); color: var(--on-brand); }
.btn-primary:hover { background: var(--brown-dark); }
.btn-secondary { background: var(--white); color: var(--brown); border: 1.5px solid var(--brown); }
.btn-secondary:hover { background: var(--sand); }
.btn-light { background: var(--cream); color: var(--brown); }
.btn-light:hover { background: var(--white); }
.btn-outline-light { background: transparent; color: var(--on-brand); border: 1.5px solid var(--latte); }
.btn-outline-light:hover { background: rgba(255, 248, 238, 0.08); }
.btn-ghost { background: transparent; color: var(--brown); padding-inline: 16px; }
.btn-ghost:hover { background: var(--sand); }
.btn-block { width: 100%; }

/* bố cục chung */
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--s-112); }
.section-head { max-width: 760px; margin-inline: auto; text-align: center; display: grid; gap: var(--s-16); }
@media (max-width: 767px) {
  :root { --gutter: 20px; }
  .display { font-size: 40px; } .h1 { font-size: 34px; } .h2 { font-size: 28px; } .h3 { font-size: 21px; } .body-l { font-size: 18px; }
  .section { padding-block: var(--s-64); }
}
