/* Website ongnho.vn. Thiết kế theo mockup docs/ux-designs/web-ongnho-2026-09-27 (đã review).
   Nguồn: docs/brand/brand-ongnho-2026-09-27.md (màu 6.2, phông 6.3, họa tiết 6.5). */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/baloo-2-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: 'Baloo 2';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/baloo-2-latin-ext-700-normal.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;
}
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/baloo-2-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;
}
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/baloo-2-vietnamese-800-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: 'Baloo 2';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/baloo-2-latin-ext-800-normal.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;
}
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/baloo-2-latin-800-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: 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-ext-400-normal.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;
}
@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: 500;
  font-display: swap;
  src: url(/fonts/be-vietnam-pro-vietnamese-500-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: 500;
  font-display: swap;
  src: url(/fonts/be-vietnam-pro-latin-ext-500-normal.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;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/be-vietnam-pro-latin-500-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-ext-600-normal.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;
}
@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-ext-700-normal.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;
}
@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 {
  --mat: #f5b731;
  --mat-nhat: #ffe9ad;
  --muc: #3b2a1e;
  --muc-phu: #6b5646;
  --kem: #fff8ea;
  --trang: #ffffff;
  --troi: #6cc3e8;
  --troi-nhat: #dff3fb;
  --troi-dam: #1f6e96;
  --la: #7cc47f;
  --la-nhat: #e3f4e3;
  --la-dam: #2f7a3a;
  --hong: #f7a8b8;
  --hong-nhat: #fde6eb;
  --vien: 3px solid var(--muc);
  --bo: 24px;
  --bong: 0 6px 0 rgba(59, 42, 30, 0.9);
  --bong-mem: 0 10px 30px rgba(59, 42, 30, 0.12);
  --tieu-de: 'Baloo 2', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --chu: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--kem);
  color: var(--muc);
  font: 400 17px/1.6 var(--chu);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--troi-dam);
  text-underline-offset: 3px;
}
h1,
h2,
h3 {
  font-family: var(--tieu-de);
  line-height: 1.15;
  margin: 0 0 12px;
}
h1 {
  font-size: clamp(40px, 9vw, 72px);
  font-weight: 800;
}
h2 {
  font-size: clamp(30px, 6vw, 44px);
  font-weight: 800;
}
h3 {
  font-size: 22px;
  font-weight: 700;
}
p {
  margin: 0 0 12px;
}
:focus-visible {
  outline: 4px solid var(--troi-dam);
  outline-offset: 3px;
  border-radius: 8px;
}
.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 50;
  background: var(--trang);
  padding: 8px 14px;
}

/* ───── Đầu trang ───── */
.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 248, 234, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid rgba(59, 42, 30, 0.08);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--muc);
  font: 800 26px var(--tieu-de);
}
.logo svg {
  width: 44px;
  height: 44px;
}
.nav {
  display: none;
  gap: 20px;
  margin-left: auto;
  font-weight: 600;
}
.nav a {
  color: var(--muc);
  text-decoration: none;
}
.nav a:hover {
  text-decoration: underline;
}
.site-head .btn {
  margin-left: auto;
}
@media (min-width: 900px) {
  .nav {
    display: flex;
  }
  .site-head .btn {
    margin-left: 8px;
  }
}

/* ───── Nút ───── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 10px 24px;
  border: var(--vien);
  border-radius: 999px;
  background: var(--mat);
  color: var(--muc);
  font: 800 19px var(--tieu-de);
  text-decoration: none;
  box-shadow: var(--bong);
  cursor: pointer;
  transition:
    transform 0.15s ease-out,
    box-shadow 0.15s ease-out;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(59, 42, 30, 0.9);
}
.btn:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 rgba(59, 42, 30, 0.9);
}
.btn.phu {
  background: var(--trang);
}
.btn.nho {
  min-height: 44px;
  font-size: 16px;
  padding: 6px 16px;
  box-shadow: 0 4px 0 rgba(59, 42, 30, 0.9);
}
.btn svg {
  width: 22px;
  height: 22px;
}

/* ───── Khối và thẻ ───── */
section {
  padding: 56px 0;
}
.the {
  background: var(--trang);
  border: var(--vien);
  border-radius: var(--bo);
  box-shadow: var(--bong-mem);
  padding: 22px;
}
.nhan {
  display: inline-block;
  font: 700 14px var(--chu);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muc-phu);
  margin-bottom: 8px;
}
.center {
  text-align: center;
}
.lead {
  font-size: 19px;
  color: var(--muc-phu);
  max-width: 640px;
}
.center .lead {
  margin-left: auto;
  margin-right: auto;
}

/* Họa tiết tổ ong thưa, nhạt */
.to-ong {
  background-color: var(--mat-nhat);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='48' viewBox='0 0 56 48'%3E%3Cpath d='M14 1h28l14 23-14 23H14L0 24z' fill='none' stroke='%23F5B731' stroke-opacity='.35' stroke-width='2'/%3E%3C/svg%3E");
}

/* ───── Hero ───── */
.hero {
  padding: 40px 0 64px;
  overflow: hidden;
}
.hero h1 span {
  display: inline-block;
  background: linear-gradient(transparent 62%, var(--mat) 62%);
  padding: 0 4px;
}
.hero .lead {
  font-size: 20px;
}
.cta-box {
  margin-top: 22px;
}
.cta-box .note {
  font-size: 15px;
  color: var(--muc-phu);
  margin-top: 12px;
}
.cta-box [data-for] {
  display: none;
}
.cta-box[data-device='play'] [data-for='play'],
.cta-box[data-device='inapp'] [data-for='inapp'],
.cta-box[data-device='safari'] [data-for='safari'],
.cta-box[data-device='phone'] [data-for='phone'],
.cta-box[data-device='desktop'] [data-for='desktop'] {
  display: block;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--trang);
  border: 2px solid var(--muc);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 14px;
  font-weight: 600;
}
.chip svg {
  width: 16px;
  height: 16px;
}
.waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.waitlist input {
  flex: 1 1 220px;
  min-height: 52px;
  border: var(--vien);
  border-radius: 16px;
  padding: 0 16px;
  font: 500 17px var(--chu);
  background: var(--trang);
  color: var(--muc);
}
.copy-link {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* Khung iPad */
.ipad {
  position: relative;
  background: #2c211a;
  border-radius: 34px;
  padding: 16px;
  box-shadow:
    0 18px 0 -6px rgba(59, 42, 30, 0.25),
    var(--bong-mem);
  transform: rotate(-2deg);
}
.ipad img {
  border-radius: 20px;
  width: 100%;
  aspect-ratio: 1026 / 713;
  object-fit: cover;
}
.hero-art {
  position: relative;
}
.hero-art .bay {
  position: absolute;
  width: 120px;
  right: -8px;
  top: -40px;
}
.hero-art .play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: var(--vien);
  background: var(--mat);
  display: grid;
  place-items: center;
  box-shadow: var(--bong);
  cursor: pointer;
}
.hero-art .play svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
}
.hero-art .caption {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muc-phu);
  text-align: center;
}

/* ───── Năm lời hứa ───── */
.hua {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.hua .the {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
}
.hua .icon {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: var(--vien);
  display: grid;
  place-items: center;
}
.hua .icon svg {
  width: 30px;
  height: 30px;
}
.hua h3 {
  font-size: 20px;
  margin-bottom: 4px;
}
.hua p {
  margin: 0;
  font-size: 15px;
  color: var(--muc-phu);
}
@media (min-width: 700px) {
  .hua {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .hua {
    grid-template-columns: repeat(5, 1fr);
  }
  .hua .the {
    flex-direction: column;
  }
}

/* ───── Chơi thế nào ───── */
.buoc {
  display: grid;
  gap: 24px;
  margin-top: 28px;
  counter-reset: buoc;
}
.buoc .the {
  padding: 0;
  overflow: hidden;
}
.buoc img {
  width: 100%;
  aspect-ratio: 1026 / 713;
  object-fit: cover;
  border-bottom: var(--vien);
}
.buoc .noi-dung {
  padding: 18px 20px 20px;
}
.buoc h3::before {
  counter-increment: buoc;
  content: counter(buoc);
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border-radius: 50%;
  border: var(--vien);
  background: var(--mat);
  font-size: 18px;
}
.buoc p {
  margin: 0;
  color: var(--muc-phu);
}
@media (min-width: 900px) {
  .buoc {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ───── Ứng dụng ───── */
.app-card {
  display: grid;
  gap: 22px;
  align-items: center;
  margin-top: 28px;
  padding: 0;
  overflow: hidden;
}
.app-card img {
  width: 100%;
  aspect-ratio: 1026 / 713;
  object-fit: cover;
}
.app-card .noi-dung {
  padding: 0 22px 24px;
}
.app-card ul {
  padding-left: 0;
  list-style: none;
  margin: 0 0 16px;
}
.app-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
}
.app-card li svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--la-dam);
}
.gia {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 18px;
}
.gia b {
  font: 800 30px var(--tieu-de);
}
.gia span {
  color: var(--muc-phu);
  font-size: 15px;
}
.sap-co {
  border: 3px dashed rgba(59, 42, 30, 0.35);
  border-radius: var(--bo);
  padding: 20px;
  text-align: center;
  color: var(--muc-phu);
  margin-top: 16px;
}
@media (min-width: 900px) {
  .app-card {
    grid-template-columns: 1.1fr 1fr;
  }
  .app-card img {
    height: 100%;
    border-right: var(--vien);
  }
  .app-card .noi-dung {
    padding: 28px 28px 28px 0;
  }
}

/* ───── Lời chứng thực ───── */
.loi-khen {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.loi-khen blockquote {
  margin: 0;
}
.loi-khen .sao {
  display: flex;
  gap: 2px;
  color: var(--mat);
  margin-bottom: 8px;
}
.loi-khen .sao svg {
  width: 20px;
  height: 20px;
}
.loi-khen cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
}
.mau {
  display: inline-block;
  font: 700 12px var(--chu);
  background: var(--hong-nhat);
  border: 2px dashed var(--hong);
  border-radius: 8px;
  padding: 2px 8px;
  margin-bottom: 10px;
  color: var(--muc);
}
@media (min-width: 900px) {
  .loi-khen {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ───── Câu chuyện ───── */
.chuyen {
  display: grid;
  gap: 24px;
  align-items: center;
}
.chuyen .anh {
  border: var(--vien);
  border-radius: var(--bo);
  aspect-ratio: 4 / 3;
  background: var(--troi-nhat);
  display: grid;
  place-items: center;
  color: var(--muc-phu);
  font-size: 14px;
  text-align: center;
  padding: 16px;
}
@media (min-width: 900px) {
  .chuyen {
    grid-template-columns: 1fr 1.2fr;
  }
}

/* ───── Câu hỏi thường gặp ───── */
.faq {
  max-width: 800px;
  margin: 28px auto 0;
  display: grid;
  gap: 12px;
}
.faq details {
  background: var(--trang);
  border: var(--vien);
  border-radius: 18px;
  padding: 0 20px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font: 700 19px var(--tieu-de);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-size: 28px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: '–';
}
.faq details p {
  color: var(--muc-phu);
  padding-bottom: 16px;
  margin: 0;
}
/* Cài lên máy (/bupbe): mỗi thiết bị một mục, mục của máy đang xem mở sẵn. */
.cai-may details[open] {
  padding-bottom: 20px;
}
.cai-may .cai-dat {
  margin: 4px 0 0;
  padding: 0;
}
.cai-may .cai-dat .the {
  box-shadow: none;
}
.cai-may .cai-dat p {
  padding-bottom: 0;
}

/* ───── Kêu gọi cuối và chân trang ───── */
.cta-cuoi .the {
  text-align: center;
  background: var(--mat);
  padding: 36px 22px;
}
.cta-cuoi .btn {
  background: var(--trang);
}
.site-foot {
  background: var(--muc);
  color: var(--kem);
  padding: 44px 0 28px;
  font-size: 15px;
}
.site-foot a {
  color: var(--mat-nhat);
}
.site-foot .cot {
  display: grid;
  gap: 24px;
}
.site-foot h3 {
  font-size: 18px;
  color: var(--mat);
}
.site-foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.site-foot .phap-ly {
  border-top: 1px solid rgba(255, 248, 234, 0.2);
  margin-top: 28px;
  padding-top: 18px;
  font-size: 13px;
  opacity: 0.85;
}
.site-foot .logo {
  color: var(--kem);
}
@media (min-width: 800px) {
  .site-foot .cot {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

/* ───── Trang sản phẩm ───── */
.bang {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--trang);
  border: var(--vien);
  border-radius: var(--bo);
  overflow: hidden;
  margin-top: 24px;
  font-size: 16px;
}
.bang th,
.bang td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 2px solid rgba(59, 42, 30, 0.1);
  vertical-align: top;
}
.bang thead th {
  background: var(--mat-nhat);
  font-family: var(--tieu-de);
  font-size: 18px;
}
.bang tr:last-child td {
  border-bottom: 0;
}
.bang .co {
  color: var(--la-dam);
  font-weight: 700;
}
.cai-dat {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  counter-reset: cai;
}
.cai-dat li {
  list-style: none;
}
.cai-dat .the {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.cai-dat .so {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: var(--vien);
  background: var(--troi-nhat);
  display: grid;
  place-items: center;
  font: 800 20px var(--tieu-de);
}
.bo-anh {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.bo-anh img {
  border: var(--vien);
  border-radius: 18px;
}
@media (min-width: 800px) {
  .cai-dat {
    grid-template-columns: repeat(2, 1fr);
  }
  .bo-anh {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .btn:hover,
  .btn:active {
    transition: none;
    transform: none;
  }
  .ipad {
    transform: none;
  }
}

/* ───── Bổ sung sau review ───── */
.sprite {
  position: absolute;
}
[id] {
  scroll-margin-top: 84px;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
[data-bg='hong'] {
  background: var(--hong-nhat);
}
[data-bg='troi'] {
  background: var(--troi-nhat);
}
[data-bg='mat'] {
  background: var(--mat-nhat);
}
[data-bg='la'] {
  background: var(--la-nhat);
}
.tagline {
  margin-top: 10px;
}
.site-foot :focus-visible,
.cta-cuoi :focus-visible {
  outline-color: var(--mat);
}
.cta-cuoi :focus-visible {
  outline-color: var(--muc);
}
.site-foot ul a {
  display: inline-block;
  padding: 10px 0;
}
.foot-h {
  font-size: 18px;
  color: var(--mat);
  margin-bottom: 4px;
}
.faq details a,
.cta-box .note a {
  display: inline-block;
  padding: 8px 0;
}
.inline-i {
  width: 20px;
  height: 20px;
  vertical-align: -4px;
}
.nguoi-lam {
  font-weight: 600;
}
.addr {
  font: 700 18px var(--chu);
  background: var(--trang);
  border: 2px dashed var(--muc-phu);
  border-radius: 12px;
  padding: 10px 14px;
  word-break: break-all;
  -webkit-user-select: all;
  user-select: all;
}
.qr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.cta-box [data-for='desktop'] .qr-row {
  margin-top: 18px;
}
.qr {
  flex: none;
  width: 168px;
  height: 168px;
  padding: 10px;
  background: var(--trang);
  border: var(--vien);
  border-radius: 18px;
}
.qr svg {
  width: 100%;
  height: 100%;
}
.app-name {
  font-size: 30px;
}
.gia-the {
  margin-top: 20px;
}
.gia-note {
  font-size: 15px;
  color: var(--muc-phu);
}
.bang-wrap {
  overflow-x: auto;
}
.bo-anh + .hua {
  margin-top: 28px;
}
.chuyen img.anh {
  width: 100%;
  object-fit: cover;
  padding: 0;
}

/* Menu trên điện thoại */
.menu-btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: var(--vien);
  border-radius: 14px;
  background: var(--trang);
  color: var(--muc);
  cursor: pointer;
}
.menu-btn svg {
  width: 24px;
  height: 24px;
}
@media (max-width: 899px) {
  .site-head .btn {
    margin-left: auto;
  }
  .nav.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--kem);
    border-bottom: var(--vien);
    padding: 8px 16px 16px;
  }
  .nav.open a {
    padding: 12px 0;
    font-size: 18px;
  }
}
@media (min-width: 900px) {
  .menu-btn {
    display: none;
  }
}

/* Hero: trên điện thoại, ảnh game nằm ngay dưới tiêu đề */
.hero-grid {
  display: grid;
  gap: 22px;
  grid-template-areas: 'top' 'art' 'bottom';
}
.hero-top {
  grid-area: top;
}
.hero-art {
  grid-area: art;
}
.hero-bottom {
  grid-area: bottom;
}
.hero-top h1 {
  margin-bottom: 0;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    grid-template-areas: 'top art' 'bottom art';
    align-items: center;
    column-gap: 40px;
  }
  .hero-top {
    align-self: end;
  }
  .hero-bottom {
    align-self: start;
  }
}

/* Văn bản chính sách */
.van-ban .wrap {
  max-width: 820px;
}
.van-ban h1 {
  font-size: clamp(34px, 7vw, 52px);
}
.van-ban h2 {
  font-size: 26px;
  margin-top: 32px;
}
.van-ban li {
  margin-bottom: 8px;
}
.cap-nhat {
  color: var(--muc-phu);
  font-size: 15px;
}

/* ───── Theo tuổi (5–8) ───── */
.tuoi {
  display: grid;
  gap: 28px;
  margin-top: 28px;
  align-items: center;
}
.tuoi .ipad {
  transform: rotate(1.5deg);
}
.tuoi-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.tuoi-list .the {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
}
.so-tuoi {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: var(--vien);
  display: grid;
  place-items: center;
  font: 800 28px/1 var(--tieu-de);
}
.tuoi-list h3 {
  font-size: 20px;
  margin-bottom: 2px;
}
.tuoi-list p {
  margin: 0;
  font-size: 15px;
  color: var(--muc-phu);
}
.tuoi-note {
  margin: 24px auto 0;
  max-width: 640px;
  text-align: center;
  font-weight: 600;
}
@media (min-width: 900px) {
  .tuoi {
    grid-template-columns: 1fr 1.1fr;
  }
}
.chuyen h2 .xuong {
  display: block;
  color: var(--troi-dam);
}

/* ───── Trình chiếu ảnh game ở phần mở đầu ───── */
.trinh-chieu .man {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 1026 / 713;
  background: #f6e9f5;
  --x: 50%;
  --y: 50%;
  --zoom: 1;
}
.trinh-chieu .canh {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s ease,
    visibility 0s linear 0.6s;
}
.trinh-chieu .canh.dang-chieu {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease;
}
.trinh-chieu .canh img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  aspect-ratio: auto;
  object-fit: cover;
  transform-origin: var(--x) var(--y);
}
.trinh-chieu.chay .canh.dang-chieu img {
  animation: tc-zoom var(--tc-ms, 4200ms) cubic-bezier(0.33, 0, 0.2, 1) forwards;
}
.trinh-chieu figcaption {
  position: absolute;
  left: -999px;
}
@keyframes tc-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(var(--zoom));
  }
}
/* Vòng chạm: gợi ý bé/bố mẹ chạm vào đâu */
.trinh-chieu .cham {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  border: 3px solid var(--trang);
  background: rgba(245, 183, 49, 0.55);
  box-shadow: 0 2px 10px rgba(59, 42, 30, 0.35);
  opacity: 0;
  pointer-events: none;
}
.trinh-chieu.chay .cham {
  animation: tc-cham 1.4s ease-out 0.9s 2 both;
}
@keyframes tc-cham {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  25% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}
.tc-chu {
  margin: 22px 4px 0;
  min-height: 3.4em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
}
.tc-chu b {
  font: 800 21px/1.25 var(--tieu-de);
}
.tc-so {
  font: 700 13px var(--chu);
  color: var(--muc-phu);
  background: var(--trang);
  border: 2px solid var(--muc);
  border-radius: 99px;
  padding: 1px 9px;
}
.tc-phu {
  flex-basis: 100%;
  color: var(--muc-phu);
  font-size: 16px;
}
.tc-nut {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 10px 4px 0;
}
.tc-nut[hidden] {
  display: none;
}
.tc-dung {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: var(--vien);
  background: var(--trang);
  color: var(--muc);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.tc-dung svg {
  width: 18px;
  height: 18px;
}
.tc-cham {
  display: flex;
  flex-wrap: wrap;
}
/* Vùng bấm 44×44 px; chấm nhìn thấy nhỏ hơn nằm giữa */
.tc-diem {
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}
.tc-diem::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  border-radius: 99px;
  border: 2px solid var(--muc);
  background: var(--trang);
  transition: width 0.3s ease;
}
.tc-diem[aria-current='true'] {
  width: 56px;
}
.tc-diem[aria-current='true']::before {
  width: 40px;
  background: linear-gradient(90deg, var(--mat) var(--tc-tien, 0%), var(--trang) 0);
}
.trinh-chieu.chay:not(.tam-dung) .tc-diem[aria-current='true']::before {
  animation: tc-tien var(--tc-ms, 4200ms) linear forwards;
}
.trinh-chieu.tam-dung .tc-diem[aria-current='true']::before {
  background: var(--mat);
}
@property --tc-tien {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}
@keyframes tc-tien {
  to {
    --tc-tien: 100%;
  }
}
.tc-diem:focus-visible {
  outline: 3px solid var(--troi-dam);
  outline-offset: -2px;
  border-radius: 99px;
}
@media (prefers-reduced-motion: reduce) {
  .trinh-chieu .canh,
  .trinh-chieu .canh.dang-chieu {
    transition: none;
  }
  .trinh-chieu.chay .canh.dang-chieu img,
  .trinh-chieu.chay .cham {
    animation: none;
  }
}

/* Các bước mua trong thẻ giá */
.cach-mua {
  margin: 12px 0 0;
  padding-left: 22px;
  display: grid;
  gap: 6px;
  font-size: 16px;
}
