/* ============================================================================
 * Pixelius — giao diện web 6.0 (thiết kế lại 29/9/2026, bản vẽ pixelius-redesign-v1.0.0)
 * Dùng chung cho: index · bang-gia · dang-nhap · dang-ky · thanh-toan · download · huong-dan
 * Nền kem + mực đen + cam; font Onest (chữ) / Unbounded (tiêu đề).
 * Bản vẽ khổ 1440 px; dưới 960 px chuyển bố cục một cột theo bản vẽ mobile (390 px).
 * ========================================================================== */
:root {
  --cream: #F2EEE6;
  --ink: #111111;
  --orange: #FF5F1F;
  --muted: #4A4640;
  --yellow: #FFD23F;
  --green: #7CE0B0;
  --peach: #FFF1EA;
  --sand: #E6DFD1;
  --white: #FFFFFF;
  --line: rgba(17, 17, 17, .15);
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Unbounded', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --g: 48px;           /* lề hai bên */
  --sec: 104px;        /* khoảng cách giữa các khối */
}
@media (max-width: 1180px) { :root { --g: 32px; --sec: 88px; } }
@media (max-width: 600px)  { :root { --g: 20px; --sec: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.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; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 16px; height: 16px; }
.ic-lg { width: 22px; height: 22px; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--g); padding-right: var(--g); }
.sec { padding-top: var(--sec); }
.display { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; }
.h1 { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5.15vw, 74px); line-height: 1.08; letter-spacing: -.035em; }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.1; letter-spacing: -.035em; }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.muted { color: var(--muted); }
.hl { display: inline-block; padding: 0 .24em; border-radius: .3em; background: var(--orange); transform: rotate(-2deg); }
.ul-link { font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.ul-link:hover { color: var(--orange); }

/* Tiêu đề khối: chữ lớn bên trái (7/12), đoạn dẫn bên phải (5/12) */
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; margin-bottom: 40px; }
.sec-head > .h2 { grid-column: span 7; }
.sec-head > .lead { grid-column: span 5; }
@media (max-width: 960px) {
  .sec-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 24px; }
  .sec-head > .h2, .sec-head > .lead { grid-column: auto; }
}

/* ---------------- Nút ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  background: transparent; font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, opacity .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #2a2a2a; }
.btn-orange { background: var(--orange); color: var(--ink); }
.btn-orange:hover { background: #ff7a45; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-ghost-light { border-color: rgba(242, 238, 230, .35); border-width: 1.5px; color: var(--cream); }
.btn-ghost-light:hover { border-color: var(--cream); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 15px; }
.btn-lg { height: 60px; padding: 0 26px; font-size: 17px; }
.btn-block { width: 100%; }
/* Nút có chấm tròn mũi tên ở đuôi (CTA chính) */
.btn-go { height: 52px; padding: 0 8px 0 24px; gap: 12px; }
.btn-go .dot { width: 36px; height: 36px; border-radius: 999px; background: var(--orange); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.btn-go.btn-xl { height: 64px; padding: 0 10px 0 30px; gap: 16px; font-size: 18px; }
.btn-go.btn-xl .dot { width: 44px; height: 44px; }
.btn-go .dot-cream { background: var(--cream); }
.btn .spin { display: none; width: 18px; height: 18px; border-radius: 999px; border: 2.5px solid currentColor; border-right-color: transparent; animation: pxspin .8s linear infinite; }
.btn.is-loading .spin { display: inline-block; }
@keyframes pxspin { to { transform: rotate(360deg); } }

/* ---------------- Nhãn tròn ---------------- */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.chip-sm { height: 26px; padding: 0 10px; font-size: 12px; font-weight: 600; }
.chip-ink { background: var(--ink); color: var(--white); }
.chip-orange { background: var(--orange); color: var(--ink); }
.chip-cream { background: var(--cream); color: var(--ink); }
.chip-white { background: var(--white); color: var(--ink); border: 2px solid var(--ink); }
.chip-sand { background: var(--sand); color: var(--ink); }
.chip-line-light { border: 1.5px solid rgba(255, 255, 255, .35); color: var(--white); font-weight: 400; height: 38px; padding: 0 16px; font-size: 15px; }
.tag-dsp { font-family: var(--display); font-size: 12px; font-weight: 700; height: 32px; }

/* ---------------- Header ---------------- */
/* Thanh trên DÍNH đầu màn hình khi cuộn (web 6.3.0). --hdr-h = chiều cao thanh: mọi thứ dính khác (mục lục pháp lý, cột hỏi đáp)
   phải đặt top >= --hdr-h, và html chừa scroll-padding để link #mục không bị thanh che. site.js thêm .is-stuck khi đã cuộn. */
:root { --hdr-h: 96px; }
html { scroll-padding-top: var(--hdr-h); }
.hdr { position: sticky; top: 0; z-index: 40; background: var(--cream); transition: box-shadow .2s; }
.hdr.is-stuck { box-shadow: 0 1px 0 rgba(17, 17, 17, .12); }
.hdr-in { height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; width: 26px; height: 26px; }
.logo-mark i { background: currentColor; border-radius: 3px; }
.logo-mark i:nth-child(5) { background: var(--orange); }
.logo-word { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.hdr-nav { display: flex; align-items: center; gap: 32px; font-size: 16px; font-weight: 500; }
.hdr-nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
.hdr-nav a:hover, .hdr-nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.hdr-act { display: flex; align-items: center; gap: 6px; }
.lang-btn { height: 52px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; font-size: 15px; font-weight: 600; }
.lang-btn:hover { color: var(--orange); }
.hdr-login { height: 52px; padding: 0 16px; display: inline-flex; align-items: center; font-size: 16px; font-weight: 600; }
.hdr-login:hover { color: var(--orange); }
.menu-btn { display: none; width: 44px; height: 44px; padding: 0; border-radius: 999px; border: 2px solid var(--ink); background: transparent; align-items: center; justify-content: center; }
.mnav { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 2px solid var(--ink); box-shadow: 0 24px 40px rgba(17, 17, 17, .12); padding: 8px var(--g) 24px; }
.mnav nav { display: flex; flex-direction: column; }
.mnav nav a { padding: 14px 0; font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; border-bottom: 1.5px solid var(--line); }
.mnav-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
@media (max-width: 1100px) { .hdr-nav { gap: 20px; font-size: 15px; } }
@media (max-width: 960px) {
  :root { --hdr-h: 64px; }
  .hdr-in { height: 64px; }
  .hdr-nav, .hdr-act .btn-go, .hdr-act .lang-btn { display: none; }
  .menu-btn { display: inline-flex; }
  .logo-mark { width: 22px; height: 22px; }
  .logo-mark i { border-radius: 2px; }
  .logo-word { font-size: 18px; }
  .hdr-login { height: 44px; padding: 0 12px; font-size: 15px; }
}
/* Header gọn cho trang con (đăng nhập, thanh toán): chỉ logo + vài nút */
.hdr-slim .hdr-in { height: 88px; }
@media (max-width: 960px) { .hdr-slim .hdr-in { height: 64px; } }

/* ---------------- Footer ---------------- */
.ftr { margin-top: var(--sec); background: var(--ink); color: var(--cream); padding: 72px 0 40px; }
.ftr-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.ftr-brand { grid-column: span 5; display: flex; flex-direction: column; gap: 20px; }
.ftr-brand p { max-width: 360px; font-size: 16px; line-height: 1.6; color: rgba(242, 238, 230, .72); }
.ftr-social { display: flex; flex-wrap: wrap; gap: 10px; }
.ftr-nav { grid-column: span 7; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ftr-nav div { display: flex; flex-direction: column; gap: 14px; }
.ftr-nav strong { font-size: 15px; }
.ftr-nav a, .ftr-nav button { font-size: 16px; color: rgba(242, 238, 230, .72); background: none; border: 0; padding: 0; text-align: left; }
.ftr-nav a:hover, .ftr-nav button:hover { color: var(--cream); }
.ftr-bot { margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(242, 238, 230, .16); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: rgba(242, 238, 230, .64); }
.ftr-lang { display: flex; gap: 16px; }
.ftr-lang button { background: none; border: 0; padding: 4px 0; color: rgba(242, 238, 230, .64); font-size: 14px; }
.ftr-lang button.on { color: var(--cream); font-weight: 600; }
@media (max-width: 960px) {
  .ftr { padding: 44px 0 32px; }
  .ftr-top { grid-template-columns: 1fr; gap: 32px; }
  .ftr-brand, .ftr-nav { grid-column: auto; }
  .ftr-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .ftr-bot { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 32px; }
}
/* Footer một dòng (trang con) */
.ftr-slim { padding: 40px 0; }
.ftr-slim .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.ftr-slim .ftr-copy { display: flex; align-items: center; gap: 12px; color: rgba(242, 238, 230, .72); }
.ftr-slim .logo-mark { width: 20px; height: 20px; }
.ftr-slim .logo-mark i { background: var(--cream); border-radius: 2px; }
.ftr-slim .logo-mark i:nth-child(5) { background: var(--orange); }
.ftr-slim nav { display: flex; gap: 24px; flex-wrap: wrap; }
.ftr-slim nav a { color: rgba(242, 238, 230, .8); }
.ftr-slim nav a:hover { color: var(--cream); }
.ftr .logo-mark i { background: var(--cream); }
.ftr .logo-mark i:nth-child(5) { background: var(--orange); }

/* ---------------- So sánh trước / sau ---------------- */
/* --pos: 0..100 (vị trí thanh), --op: object-position ngang. Ảnh "trước" bị cắt bằng clip-path nên co giãn tự do. */
.cmp { --pos: 50; --op: 50%; position: relative; overflow: hidden; background: var(--ink); border-radius: 28px; isolation: isolate; }
.cmp > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--op) center; user-select: none; -webkit-user-drag: none; }
.cmp > .cmp-before { clip-path: inset(0 calc(100% - var(--pos) * 1%) 0 0); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: calc(var(--pos) * 1%); width: 3px; margin-left: -1.5px; background: var(--cream); pointer-events: none; }
.cmp-knob { position: absolute; top: 50%; left: calc(var(--pos) * 1%); width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 999px; background: var(--ink); border: 3px solid var(--cream); color: var(--white); display: flex; align-items: center; justify-content: center; pointer-events: none; }
.cmp-lg .cmp-knob { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.cmp-lg .cmp-line { width: 4px; margin-left: -2px; }
.cmp-tag { position: absolute; bottom: 16px; height: 28px; padding: 0 10px; display: flex; align-items: center; border-radius: 999px; font-size: 12px; font-weight: 700; pointer-events: none; white-space: nowrap; }
.cmp-tag.l { left: 16px; background: var(--cream); }
.cmp-tag.r { right: 16px; background: var(--orange); }
.cmp-lg .cmp-tag { bottom: 24px; height: 36px; padding: 0 16px; font-size: 14px; }
.cmp-lg .cmp-tag.l { left: 24px; } .cmp-lg .cmp-tag.r { right: 24px; }
.cmp-cap { position: absolute; top: 16px; left: 16px; height: 30px; padding: 0 12px; display: flex; align-items: center; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 600; pointer-events: none; }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none; background: transparent; }
.cmp-range:focus-visible + .cmp-focus { outline: 3px solid var(--orange); outline-offset: -3px; }
.cmp-focus { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }

/* ---------------- Hộp thoại ---------------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-start; justify-content: center; padding: 48px 16px; background: rgba(17, 17, 17, .55); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.modal.open { display: flex; }
.modal-box { position: relative; width: 100%; max-width: 640px; margin: auto; background: var(--cream); border: 2px solid var(--ink); border-radius: 32px; padding: 36px; }
.modal-x { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); display: flex; align-items: center; justify-content: center; }
.modal-x:hover { background: var(--ink); color: var(--white); }
.modal-title { font-family: var(--display); font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -.03em; padding-right: 48px; }
.modal-sub { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--muted); }
@media (max-width: 600px) {
  .modal { padding: 16px 12px; }
  .modal-box { padding: 24px 20px; border-radius: 24px; }
  .modal-title { font-size: 22px; }
}

/* ---------------- Form ---------------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .field-label { font-size: 15px; font-weight: 600; }
.input { width: 100%; height: 52px; padding: 0 18px; border-radius: 16px; border: 2px solid var(--ink); background: var(--white); font-size: 16px; outline: none; }
.input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 95, 31, .18); }
textarea.input { height: auto; min-height: 120px; padding: 14px 18px; resize: vertical; line-height: 1.5; }
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 56px; }
.eye-btn { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.eye-btn:hover { color: var(--ink); }
.hint { font-size: 13px; line-height: 1.5; color: var(--muted); }
.msg { display: none; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: 16px; font-size: 15px; line-height: 1.5; border: 2px solid var(--ink); }
.msg.show { display: flex; }
.msg.success { background: #DDF7EA; }
.msg.error { background: #FFE3D6; }
.msg svg { width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex-shrink: 0; }
.check a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); font-size: 14px; font-weight: 600; cursor: pointer; }
.radio-pill input:checked + span { background: var(--ink); color: var(--white); }
.radio-pill input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------------- Hỏi đáp (accordion) ---------------- */
.acc { border-bottom: 2px solid var(--ink); }
.acc-item { border-top: 2px solid var(--ink); }
.acc-btn { width: 100%; min-height: 76px; padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 0; background: transparent; font-size: 19px; font-weight: 600; text-align: left; }
.acc-ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); display: flex; align-items: center; justify-content: center; transition: background-color .15s; }
.acc-ic svg { transition: transform .2s; }
.acc-btn[aria-expanded="true"] .acc-ic { background: var(--orange); }
.acc-btn[aria-expanded="true"] .acc-ic svg { transform: rotate(45deg); }
.acc-panel { padding: 0 72px 24px 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.acc-panel a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
  .acc-btn { min-height: 64px; font-size: 17px; gap: 16px; }
  .acc-ic { width: 36px; height: 36px; }
  .acc-panel { padding: 0 0 20px; font-size: 16px; }
}

/* ============================================================================
 * TRANG CHỦ
 * ========================================================================== */
/* padding-top 32px: huy hiệu +25 nhô 18px trên ảnh — thanh trên dính có nền (6.3.0) sẽ che nếu hero sát thanh (web 6.3.1) */
.hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding-top: 32px; }
.hero-text { grid-column: span 7; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-right: 24px; }
.new-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 6px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--ink); font-size: 15px; font-weight: 500; }
.new-pill b { height: 28px; padding: 0 12px; display: flex; align-items: center; border-radius: 999px; background: var(--ink); color: var(--white); font-family: var(--display); font-size: 11px; font-weight: 700; }
.new-pill:hover { background: var(--peach); }
.hero-sub { max-width: 540px; font-size: 20px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.hero-cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-cta .ul-link { font-size: 17px; }
.hero-note { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }
.hero-vis { grid-column: span 5; position: relative; }
.hero-vis .cmp { width: 100%; max-width: 546px; aspect-ratio: 546 / 660; border-radius: 44px; }
.bonus-badge { position: absolute; top: -18px; left: -52px; width: 156px; height: 156px; border-radius: 999px; background: var(--orange); border: 3px solid var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; transform: rotate(-12deg); pointer-events: none; text-align: center; }
.bonus-badge b { font-family: var(--display); font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.bonus-badge span { font-size: 14px; font-weight: 700; line-height: 1.2; }
@media (max-width: 1180px) { .bonus-badge { left: -24px; width: 128px; height: 128px; } .bonus-badge b { font-size: 32px; } }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 20px; }
  .hero-text, .hero-vis { grid-column: auto; }
  .hero-text { gap: 20px; padding-right: 0; }
  .hero-vis .cmp { max-width: 560px; aspect-ratio: 350 / 420; border-radius: 32px; }
  .bonus-badge { left: auto; right: -8px; top: -18px; width: 100px; height: 100px; transform: rotate(12deg); }
  .bonus-badge b { font-size: 26px; } .bonus-badge span { font-size: 11px; }
  .hero-vis .cmp-knob { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .hero-vis .cmp-line { width: 3px; margin-left: -1.5px; }
  .hero-vis .cmp-tag { bottom: 16px; height: 30px; padding: 0 12px; font-size: 12px; }
  .hero-vis .cmp-tag.l { left: 16px; } .hero-vis .cmp-tag.r { right: 16px; }
}
@media (max-width: 600px) {
  .new-pill { height: 36px; font-size: 14px; padding: 0 14px 0 5px; gap: 8px; }
  .new-pill b { height: 26px; font-size: 10px; padding: 0 10px; }
  .hero-sub { font-size: 17px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero-cta .btn-go { justify-content: space-between; height: 60px; padding: 0 8px 0 24px; font-size: 17px; }
  .hero-cta .ul-link { align-self: flex-start; font-size: 15px; }
  .hero-note { font-size: 14px; }
}

/* Dải số liệu đen */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; border-radius: 44px; background: var(--ink); color: var(--white); padding: 44px 56px; }
.stats > p { padding-right: 40px; font-size: 20px; line-height: 1.45; font-weight: 500; }
.stat { display: flex; flex-direction: column; gap: 10px; border-left: 1px solid rgba(255, 255, 255, .16); padding-left: 40px; }
.stat b { font-family: var(--display); font-size: clamp(26px, 4.4vw, 64px); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--orange); }
.stat span { font-size: 16px; color: rgba(255, 255, 255, .78); }
@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border-radius: 32px; padding: 28px 24px; }
  .stats > p { grid-column: 1 / -1; padding: 0 0 20px; margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: 17px; }
  .stat { border-left: 0; padding-left: 0; gap: 6px; }
  .stat span { font-size: 13px; line-height: 1.35; }
}

/* Lưới so sánh "Xem tận mắt" */
.cmp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 288px 288px; gap: 24px; }
.cmp-grid .cmp-big { grid-column: span 2; grid-row: span 2; border-radius: 36px; }
.cmp-grid .cmp-big .cmp-knob { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
.cmp-grid .cmp-big .cmp-cap { top: 20px; left: 20px; height: 34px; padding: 0 14px; font-size: 14px; }
.cmp-grid .cmp-big .cmp-tag { bottom: 20px; height: 32px; padding: 0 12px; font-size: 13px; }
.cmp-grid .cmp-big .cmp-tag.l { left: 20px; } .cmp-grid .cmp-big .cmp-tag.r { right: 20px; }
.gal-more { margin-top: 32px; display: inline-flex; align-items: center; gap: 8px; font-size: 17px; background: none; border: 0; padding: 0; }
@media (max-width: 1180px) { .cmp-grid { grid-template-rows: 240px 240px; } }
@media (max-width: 960px) {
  /* bản vẽ mobile: dải cuộn ngang, mỗi ảnh ~80% chiều rộng */
  .cmp-scroll { margin: 0 calc(var(--g) * -1); padding: 0 var(--g) 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cmp-scroll::-webkit-scrollbar { display: none; }
  .cmp-grid { display: flex; gap: 14px; grid-template-rows: none; }
  .cmp-grid .cmp { flex: 0 0 min(80%, 360px); height: auto; aspect-ratio: 290 / 360; scroll-snap-align: center; border-radius: 28px; }
  .cmp-grid .cmp-big { border-radius: 28px; }
}

/* "Dùng ở đâu cũng được" — 3 thẻ */
.where { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.wcard { position: relative; height: 560px; border-radius: 40px; padding: 36px; overflow: hidden; display: flex; flex-direction: column; gap: 16px; }
.wcard-top { display: flex; align-items: center; justify-content: space-between; }
.wcard-top > span:first-child { font-family: var(--display); font-size: 15px; font-weight: 700; }
.wcard-ic { width: 48px; height: 48px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.wcard h3 { margin-top: 8px; font-family: var(--display); font-size: 32px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.wcard p { font-size: 17px; line-height: 1.5; max-width: 330px; }
.wcard .btn { align-self: flex-start; height: 48px; }
.wcard-orange { background: var(--orange); }
.wcard-orange .wcard-ic { background: var(--ink); color: var(--orange); }
.wcard-ink { background: var(--ink); color: var(--white); }
.wcard-ink .wcard-ic { background: var(--orange); color: var(--ink); }
.wcard-ink p { color: rgba(255, 255, 255, .8); }
.wcard-white { background: var(--white); border: 2px solid var(--ink); padding: 34px; }
.wcard-white .wcard-ic { background: var(--ink); color: var(--white); }
.wcard-white p { color: var(--muted); }
.browser { position: absolute; left: 36px; right: 36px; bottom: -24px; height: 210px; border-radius: 16px; background: var(--white); border: 2px solid var(--ink); overflow: hidden; display: flex; flex-direction: column; }
.browser-bar { height: 30px; flex-shrink: 0; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 2px solid var(--ink); font-size: 12px; font-weight: 600; }
.browser-bar i { width: 9px; height: 9px; border-radius: 999px; background: var(--ink); }
.browser-bar em { margin-left: 8px; font-style: normal; }
.browser-body { position: relative; flex-grow: 1; overflow: hidden; }
.browser-body img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.wcard-app-img { position: absolute; left: 36px; bottom: -84px; width: 540px; max-width: none; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); }
.wcard-panel-img { position: absolute; right: 40px; bottom: -150px; width: 230px; max-width: none; border-radius: 12px; border: 2px solid var(--ink); transform: rotate(5deg); }
@media (max-width: 1180px) { .wcard { height: 520px; padding: 28px; } .wcard h3 { font-size: 26px; } .browser { left: 28px; right: 28px; } .wcard-app-img { left: 28px; } }
@media (max-width: 960px) {
  .where { grid-template-columns: 1fr; gap: 14px; }
  .wcard { height: auto; min-height: 0; padding: 24px; border-radius: 28px; gap: 12px; }
  .wcard-white { padding: 22px; }
  .wcard h3 { margin-top: 4px; font-size: 24px; }
  .wcard p { font-size: 16px; max-width: none; }
  .wcard-ic { width: 44px; height: 44px; }
  .browser, .wcard-app-img, .wcard-panel-img { display: none; }
}

/* Khối đen "Sửa ảnh bằng ChatGPT & Gemini" */
.ai { position: relative; min-height: 640px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; border-radius: 44px; background: var(--ink); color: var(--white); padding: 64px; overflow: hidden; }
.ai-text { grid-column: span 6; display: flex; flex-direction: column; gap: 24px; }
.ai-text .h2 { font-size: clamp(26px, 3.35vw, 48px); }
.ai-text > p { max-width: 500px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .8); text-wrap: pretty; }
.prompt-demo { display: flex; align-items: center; gap: 12px; max-width: 520px; padding: 10px 10px 10px 22px; border-radius: 24px; background: var(--white); color: var(--ink); }
.prompt-demo span:first-child { flex-grow: 1; font-size: 17px; line-height: 1.4; }
.prompt-demo .go { width: 48px; height: 48px; flex-shrink: 0; border-radius: 999px; background: var(--orange); display: flex; align-items: center; justify-content: center; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 10px; max-width: 540px; }
.ai-vis { grid-column: span 6; position: relative; }
.ai-vis img { position: absolute; top: -8px; right: 28px; width: 300px; max-width: none; border-radius: 16px; border: 2px solid rgba(255, 255, 255, .2); transform: rotate(3deg); }
.ai-card { position: absolute; width: 264px; padding: 20px 22px; border-radius: 28px; display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.ai-card strong { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 20px; font-weight: 700; }
.ai-card span { font-size: 15px; }
.ai-card-1 { top: 64px; left: 0; background: var(--white); transform: rotate(-3deg); }
.ai-card-1 span { color: var(--muted); }
.ai-card-2 { top: 250px; left: 56px; background: var(--orange); border: 2px solid var(--ink); transform: rotate(2deg); }
@media (max-width: 1180px) { .ai { padding: 48px; } .ai-vis img { right: 0; width: 260px; } }
@media (max-width: 960px) {
  .ai { grid-template-columns: 1fr; min-height: 0; border-radius: 32px; padding: 28px 24px; }
  .ai-text, .ai-vis { grid-column: auto; }
  .ai-text { gap: 18px; }
  .ai-text > p { font-size: 16px; }
  .prompt-demo { padding: 8px 8px 8px 16px; border-radius: 20px; }
  .prompt-demo span:first-child { font-size: 15px; }
  .prompt-demo .go { width: 44px; height: 44px; }
  .ai-vis { display: flex; gap: 12px; flex-wrap: wrap; }
  .ai-vis img { display: none; }
  .ai-card { position: static; width: auto; flex: 1 1 200px; transform: none; padding: 16px 18px; border-radius: 22px; }
  .ai-card strong { font-size: 17px; }
}

/* "Nét hơn chỉ trong 3 bước" */
.steps { padding: 48px 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; border-radius: 44px; background: var(--orange); }
.steps li { display: flex; flex-direction: column; gap: 14px; }
.step-no { width: 64px; height: 64px; border-radius: 999px; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 24px; font-weight: 700; }
.steps h3 { margin-top: 6px; font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.steps p { font-size: 17px; line-height: 1.55; }
.feats { margin-top: 40px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.feat { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 28px; background: var(--white); border: 2px solid var(--ink); }
.feat-ic { width: 44px; height: 44px; border-radius: 999px; background: var(--ink); color: var(--orange); display: flex; align-items: center; justify-content: center; }
.feat h3 { font-size: 17px; font-weight: 700; }
.feat p { font-size: 15px; line-height: 1.45; color: var(--muted); }
@media (max-width: 1180px) { .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 22px; padding: 28px 24px; border-radius: 32px; }
  .steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 16px; align-items: start; }
  .step-no { width: 52px; height: 52px; font-size: 20px; grid-row: span 2; }
  .steps h3 { margin-top: 2px; font-size: 20px; }
  .steps p { font-size: 16px; }
  .feats { margin-top: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .feat { padding: 18px; border-radius: 22px; }
}

/* Bảng giá (dùng chung trang chủ + bang-gia.html; thẻ do js/site-pricing.js vẽ) */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 20px; border-radius: 36px; background: var(--white); border: 2px solid var(--ink); padding: 36px; }
.plan.hot { background: var(--orange); }
.plan-head { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-head h3 { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.plan-price { display: flex; flex-direction: column; gap: 8px; }
.plan-price > b { font-family: var(--display); font-size: clamp(34px, 3.5vw, 50px); font-weight: 700; line-height: 1; letter-spacing: -.045em; }
.plan-price > span { font-size: 17px; color: var(--muted); }
.plan.hot .plan-price > span, .plan.hot .plan-alt { color: var(--ink); }
.plan-price strong { color: var(--ink); }
.plan-bonus { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.plan.hot .plan-bonus { color: var(--ink); }
.plan-bonus .chip { height: 26px; padding: 0 10px; font-size: 13px; background: var(--ink); color: var(--orange); }
.plan-sep { height: 0; border-top: 2px dashed rgba(17, 17, 17, .2); }
.plan.hot .plan-sep { border-top-color: rgba(17, 17, 17, .35); }
.plan-use { display: flex; flex-direction: column; gap: 6px; }
.plan-use b { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.plan-alt { font-size: 15px; line-height: 1.5; color: var(--muted); }
.plan-perks { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.plan-perks li { display: flex; align-items: center; gap: 10px; }
.plan .btn { margin-top: auto; height: 56px; font-size: 17px; }
.plan-sticker { position: absolute; top: -34px; right: -18px; width: 116px; height: 116px; border-radius: 999px; background: var(--ink); color: var(--white); border: 3px solid var(--cream); display: flex; align-items: center; justify-content: center; text-align: center; transform: rotate(12deg); font-family: var(--display); font-size: 14px; font-weight: 700; line-height: 1.25; padding: 12px; }
/* Nhãn "Hợp với ước tính của bạn" (ô ước tính ở bang-gia.html chọn gói) — nằm đè mép trên thẻ như bản vẽ */
.plan-fit-tag { display: none; position: absolute; top: -18px; left: 32px; height: 34px; padding: 0 14px; font-size: 13px; }
.plan.fit .plan-fit-tag { display: inline-flex; }
.plan-tabs { display: none; }
.pay-row { margin-top: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 0 4px; }
.pay-item { display: flex; align-items: center; gap: 14px; }
.pay-item .ring { width: 44px; height: 44px; flex-shrink: 0; border-radius: 999px; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.pay-item strong { display: block; font-size: 16px; }
.pay-item span, .pay-item button { font-size: 14px; color: var(--muted); }
.pay-item button { padding: 0; border: 0; background: none; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1180px) { .plan { padding: 28px; } .plan-sticker { width: 96px; height: 96px; font-size: 12px; right: -8px; } .pay-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  /* bản vẽ mobile: chọn gói bằng thanh 3 nút, mỗi lần hiện một thẻ */
  .plan-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; margin-bottom: 20px; border-radius: 999px; background: var(--white); border: 2px solid var(--ink); }
  .plan-tabs button { height: 44px; padding: 0 2px; border: 0; border-radius: 999px; background: transparent; font-size: 13px; font-weight: 600; white-space: nowrap; letter-spacing: -.01em; }
  .plan-tabs button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
  .plans { grid-template-columns: 1fr; }
  .plans.tabbed .plan:not(.on) { display: none; }
  .plan { padding: 26px 24px; border-radius: 28px; gap: 16px; }
  .plan-sticker { top: -20px; right: -6px; width: 84px; height: 84px; font-size: 11px; }
  .plan-fit-tag { left: 22px; }
  .pay-row { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
}

/* Video trên trang chủ (js/huong-dan.js vẽ vào [data-gd-home]) */
.vhome { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.vhome-main { grid-column: span 7; display: flex; flex-direction: column; gap: 20px; }
.vhome-side { grid-column: span 5; display: flex; flex-direction: column; gap: 20px; }
.vframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 36px; overflow: hidden; background: var(--ink); }
.vframe > button { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; color: var(--ink); }
.vframe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vplay { position: absolute; top: 50%; left: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 999px; background: var(--orange); border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; transition: transform .15s; }
.vplay svg { width: 34px; height: 34px; margin-left: 5px; fill: currentColor; }
.vframe > button:hover .vplay { transform: scale(1.06); }
.vframe .vcat { position: absolute; top: 20px; left: 20px; }
.vframe .vdur { position: absolute; bottom: 20px; right: 20px; }
.vmain-title { font-family: var(--display); font-size: 24px; line-height: 1.3; font-weight: 700; letter-spacing: -.02em; }
.vchaps { display: flex; flex-wrap: wrap; gap: 8px; }
.vchaps button { height: 38px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; font-size: 14px; }
.vchaps button:hover { background: var(--ink); color: var(--white); }
.vrow { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 18px; align-items: center; padding-bottom: 20px; border-bottom: 1.5px solid var(--line); }
.vrow:hover .vrow-t { text-decoration: underline; text-underline-offset: 3px; }
.vthumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--ink); }
.vthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vthumb .vdur-sm { position: absolute; bottom: 8px; right: 8px; height: 22px; padding: 0 8px; display: flex; align-items: center; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 700; }
.vrow-body { display: flex; flex-direction: column; gap: 6px; }
.vrow-body .chip { align-self: flex-start; height: 24px; }
.vrow-t { font-size: 17px; line-height: 1.35; font-weight: 700; }
.vhome-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
@media (max-width: 960px) {
  .vhome { grid-template-columns: 1fr; gap: 20px; }
  .vhome-main, .vhome-side { grid-column: auto; }
  .vframe { border-radius: 24px; }
  .vplay { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
  .vplay svg { width: 26px; height: 26px; }
  .vframe .vcat { top: 14px; left: 14px; } .vframe .vdur { bottom: 14px; right: 14px; }
  .vmain-title { font-size: 20px; }
  .vrow { grid-template-columns: 128px minmax(0, 1fr); gap: 14px; padding-bottom: 16px; }
  .vthumb { border-radius: 14px; }
  .vrow-t { font-size: 15px; }
  .vhome-act .btn { flex: 1 1 auto; }
}

/* Hỏi đáp trang chủ */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.faq-side { grid-column: span 5; display: flex; flex-direction: column; gap: 24px; padding-right: 24px; }
.faq-side p { font-size: 18px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.faq-side .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.faq .acc { grid-column: span 7; }
@media (max-width: 960px) {
  .faq { grid-template-columns: 1fr; gap: 20px; }
  .faq-side, .faq .acc { grid-column: auto; }
  .faq-side { gap: 16px; padding-right: 0; }
  .faq-side p { font-size: 16px; }
}

/* CTA cam cuối trang */
.cta { position: relative; min-height: 420px; border-radius: 44px; background: var(--orange); padding: 64px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.cta h2 { max-width: 700px; font-family: var(--display); font-size: clamp(28px, 3.75vw, 54px); line-height: 1.1; font-weight: 700; letter-spacing: -.035em; }
.cta > p { font-size: 20px; line-height: 1.5; max-width: 620px; }
.cta-act { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-act .ul-link { font-size: 17px; }
.cta-act .ul-link:hover { color: var(--ink); opacity: .75; }
.cta-photo { position: absolute; width: 230px; height: 290px; object-fit: cover; border-radius: 28px; border: 3px solid var(--ink); }
.cta-photo.p1 { top: 56px; right: 250px; object-position: 64% center; transform: rotate(-8deg); }
.cta-photo.p2 { top: 84px; right: 56px; object-position: 55% center; transform: rotate(7deg); }
@media (max-width: 1280px) { .cta-photo.p1 { display: none; } }
@media (max-width: 1100px) { .cta-photo { display: none; } }
@media (max-width: 960px) {
  .cta { min-height: 0; border-radius: 32px; padding: 32px 24px; gap: 16px; }
  .cta > p { font-size: 17px; }
  .cta-act { flex-direction: column; align-items: stretch; gap: 14px; }
  .cta-act .btn-go { justify-content: space-between; }
  .cta-act .ul-link { align-self: flex-start; }
}
/* CTA cam dạng thanh ngang (trang con) */
.cta-bar { display: flex; align-items: center; justify-content: space-between; gap: 32px; border-radius: 40px; background: var(--orange); padding: 48px 56px; }
.cta-bar h2 { font-family: var(--display); font-size: clamp(26px, 2.8vw, 40px); line-height: 1.15; font-weight: 700; letter-spacing: -.035em; }
.cta-bar p { margin-top: 10px; max-width: 620px; font-size: 18px; line-height: 1.55; }
.cta-bar .btns { display: flex; flex-shrink: 0; gap: 12px; flex-wrap: wrap; }
@media (max-width: 960px) {
  .cta-bar { flex-direction: column; align-items: stretch; border-radius: 32px; padding: 32px 24px; gap: 20px; }
  .cta-bar p { font-size: 16px; }
  .cta-bar .btns .btn { flex: 1 1 auto; }
}

/* Thư viện mẫu (hộp thoại) */
.gal-box { max-width: 1200px; }
.gal-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gal-grid .cmp { aspect-ratio: 4 / 3; border-radius: 22px; cursor: zoom-in; }
.gal-grid .cmp .cmp-knob { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
.gal-open { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); display: flex; align-items: center; justify-content: center; z-index: 2; }
.gal-empty { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--muted); }
/* Khung xem lớn: kéo = so sánh, lăn chuột / chụm 2 ngón = phóng, shift + kéo = di ảnh */
.lb { position: fixed; inset: 0; z-index: 120; display: none; flex-direction: column; background: rgba(17, 17, 17, .94); color: var(--white); }
.lb.open { display: flex; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.lb-tools { display: flex; align-items: center; gap: 8px; }
.lb-tools button, .lb-x { width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .35); background: transparent; color: var(--white); display: flex; align-items: center; justify-content: center; }
.lb-tools button:hover, .lb-x:hover { border-color: var(--white); }
.lb-pct { min-width: 56px; text-align: center; font-size: 14px; font-weight: 600; }
.lb-hint { font-size: 13px; color: rgba(255, 255, 255, .6); }
.lb-view { position: relative; flex: 1; overflow: hidden; margin: 0 16px 16px; border-radius: 20px; background: #000; touch-action: none; cursor: ew-resize; }
.lb-stage { position: absolute; inset: 0; transform-origin: center center; }
.lb-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lb-before { position: absolute; inset: 0; overflow: hidden; }
.lb-line { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--cream); pointer-events: none; }
.lb-knob { position: absolute; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 999px; background: var(--ink); border: 3px solid var(--cream); display: flex; align-items: center; justify-content: center; pointer-events: none; }
.lb-tag { position: absolute; bottom: 16px; height: 30px; padding: 0 12px; display: flex; align-items: center; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ink); pointer-events: none; }
.lb-tag.l { left: 16px; background: var(--cream); } .lb-tag.r { right: 16px; background: var(--orange); }
@media (max-width: 600px) { .lb-hint { display: none; } .lb-view { margin: 0 8px 8px; } }

/* ============================================================================
 * ĐĂNG NHẬP / ĐĂNG KÝ (dang-nhap.html · dang-ky.html) — thẻ 2 cột: panel cam | form
 * ========================================================================== */
.auth { min-height: 100vh; padding: 40px 16px 64px; display: flex; align-items: flex-start; justify-content: center; }
.auth-card { width: 100%; max-width: 1040px; margin: auto 0; display: grid; grid-template-columns: 440px minmax(0, 1fr); border-radius: 40px; background: var(--white); border: 2px solid var(--ink); overflow: hidden; }
.auth-side { position: relative; background: var(--orange); padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow: hidden; }
.auth-side .logo-mark { width: 24px; height: 24px; }
.auth-side .logo-mark i { background: var(--ink); }
.auth-side .logo-mark i:nth-child(5) { background: var(--cream); }
.auth-side .logo-word { font-size: 19px; }
.auth-pic { position: relative; height: 330px; }
.auth-pic .cmp { position: absolute; top: 20px; left: 8px; width: 340px; max-width: calc(100% - 8px); height: 290px; border: 3px solid var(--ink); transform: rotate(-3deg); border-radius: 28px; }
.auth-pic .cmp-tag { bottom: 12px; height: 26px; }
.auth-pic .cmp-tag.l { left: 12px; } .auth-pic .cmp-tag.r { right: 12px; background: var(--ink); color: var(--white); }
.auth-badge { position: absolute; top: -6px; right: -4px; width: 112px; height: 112px; border-radius: 999px; background: var(--ink); color: var(--white); border: 3px solid var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotate(12deg); }
.auth-badge b { font-family: var(--display); font-size: 28px; font-weight: 800; line-height: 1; }
.auth-badge span { font-size: 12px; font-weight: 700; line-height: 1.2; padding: 0 12px; }
.auth-tag { font-family: var(--display); font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.03em; }
.auth-sub { margin-top: 12px; font-size: 15px; font-weight: 500; }
.auth-reg { display: flex; flex-direction: column; gap: 18px; }
.auth-big { font-family: var(--display); font-size: 96px; font-weight: 800; line-height: .95; letter-spacing: -.05em; }
.auth-list { display: flex; flex-direction: column; gap: 10px; font-size: 16px; font-weight: 500; }
.auth-list li { display: flex; align-items: center; gap: 10px; }
.auth-photos { position: relative; height: 250px; }
.auth-photos img { position: absolute; width: 200px; height: 230px; object-fit: cover; border-radius: 26px; border: 3px solid var(--ink); background: var(--ink); }
.auth-photos .p1 { top: 10px; left: 0; object-position: 55% center; transform: rotate(-6deg); }
.auth-photos .p2 { top: 0; left: 150px; object-position: 30% center; transform: rotate(5deg); }
.auth-main { position: relative; padding: 40px 56px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.auth-tools { position: absolute; top: 20px; right: 20px; display: flex; align-items: center; gap: 4px; }
.auth-tools .lang-btn { height: 44px; }
.auth-tools .modal-x { position: static; }
.seg-nav { align-self: flex-start; display: flex; gap: 4px; padding: 4px; border-radius: 999px; border: 2px solid var(--ink); }
.seg-nav a, .seg-nav span { height: 40px; padding: 0 20px; display: flex; align-items: center; border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.seg-nav a:hover { background: var(--cream); }
.seg-nav [aria-current] { background: var(--ink); color: var(--white); }
.auth-h { font-family: var(--display); font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -.035em; }
.auth-lead { margin-top: 8px; font-size: 16px; color: var(--muted); }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.link-btn { padding: 0; border: 0; background: none; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--orange); }
.soft-box { border-radius: 18px; background: var(--cream); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.or { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); }
.or::before, .or::after { content: ''; flex-grow: 1; height: 1.5px; background: var(--line); }
.social { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: center; }
.g-wrap { min-height: 52px; display: flex; align-items: center; justify-content: center; }
.kol-box { border-radius: 18px; background: var(--cream); padding: 4px 16px; }
.kol-toggle { width: 100%; min-height: 44px; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 0; background: transparent; font-size: 15px; text-align: left; }
.kol-toggle > span { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.kol-toggle .chev { transition: transform .2s; }
.kol-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.kol-field { display: flex; flex-direction: column; gap: 8px; padding: 4px 0 14px; }
.kol-field .input { height: 48px; border-radius: 14px; font-size: 15px; text-transform: uppercase; }
.kol-hint { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; line-height: 1.5; font-weight: 600; }
.kol-hint.ok { color: #1d7a47; } .kol-hint.bad { color: #b3261e; }
.kol-hint svg { width: 16px; height: 16px; margin-top: 2px; }
.btn .pts { height: 28px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: 13px; font-weight: 700; }
.auth-foot { margin-top: auto; font-size: 15px; }
.auth-foot a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) {
  .auth { padding: 12px 12px 32px; }
  .auth-card { grid-template-columns: 1fr; border-radius: 28px; }
  .auth-side { padding: 16px 20px; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
  .auth-card { position: relative; }
  .auth-side { min-height: 64px; }
  .auth-side > :not(.logo) { display: none; }
  .auth-main { position: static; padding: 24px 20px 28px; gap: 16px; }
  .auth-tools { top: 10px; right: 10px; }
  .auth-tools .lang-btn { color: var(--ink); }
  .auth-row2, .social { grid-template-columns: 1fr; }
  .auth-h { font-size: 24px; }
}
@media (max-width: 420px) { .seg-nav a, .seg-nav span { padding: 0 14px; font-size: 14px; } }

/* ================= BẢNG GIÁ (bang-gia.html) ================= */
.pg-hero { padding-top: 40px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.pg-hero-text { grid-column: span 7; display: flex; flex-direction: column; gap: 24px; padding: 32px 24px 0 0; }
.pg-h1 { font-family: var(--display); font-size: clamp(34px, 3.6vw, 52px); line-height: 1.1; font-weight: 700; letter-spacing: -.04em; }
.pg-sub { max-width: 560px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.pg-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pg-chips .chip { height: 44px; padding: 0 16px; gap: 8px; font-size: 15px; font-weight: 600; }

.calc { grid-column: span 5; border-radius: 36px; background: var(--white); border: 2px solid var(--ink); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.calc-head { display: flex; align-items: center; gap: 10px; }
.calc-head .ring { width: 40px; height: 40px; border-radius: 999px; background: var(--ink); color: var(--orange); display: flex; align-items: center; justify-content: center; }
.calc-head h2 { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.calc-blk { display: flex; flex-direction: column; gap: 10px; }
.calc-lbl { font-size: 15px; font-weight: 600; }
.calc-res { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.calc-res button { height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 18px; border: 2px solid var(--ink); background: var(--white); color: var(--ink); }
.calc-res button strong { font-size: 16px; }
.calc-res button span { font-size: 12px; }
.calc-res button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.calc-n-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.calc-n-row output { font-family: var(--display); font-size: 20px; font-weight: 700; }
.calc input[type="range"] { width: 100%; height: 32px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.calc-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.calc-out { border-radius: 24px; background: var(--cream); padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.calc-need { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.calc-need b { font-family: var(--display); font-size: 34px; font-weight: 700; line-height: 1.1; letter-spacing: -.04em; color: var(--ink); }
.calc-rec { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.calc-rec > span { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--muted); }
.calc-rec strong { font-size: 18px; color: var(--ink); }
.calc-rec small { font-size: 13px; }
.calc-rec .btn { flex-shrink: 0; font-size: 15px; }

.pg-plans { padding-top: 72px; }
.kol-bar { margin-top: 32px; display: flex; align-items: center; gap: 16px; border-radius: 28px; background: var(--ink); color: var(--cream); padding: 18px 20px 18px 24px; }
.kol-bar .ring { width: 44px; height: 44px; flex-shrink: 0; border-radius: 999px; background: var(--orange); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.kol-bar p { flex-grow: 1; font-size: 16px; line-height: 1.5; }
.kol-bar p strong { color: var(--white); }
.kol-bar .btn { flex-shrink: 0; height: 48px; font-size: 15px; }

.pg-cmp { border-radius: 32px; border: 2px solid var(--ink); overflow: hidden; background: var(--white); }
.pg-cmp-scroll { overflow-x: auto; }
.pg-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.pg-table th, .pg-table td { padding: 16px; text-align: center; }
.pg-table thead tr { background: var(--ink); color: var(--white); }
.pg-table thead th { padding: 22px 16px; }
.pg-table thead th:first-child { width: 36%; padding: 22px 28px; text-align: left; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.pg-table thead .nm { display: block; font-family: var(--display); font-size: 19px; font-weight: 700; }
.pg-table thead .pr { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .75); }
.pg-table thead th.hot { background: var(--orange); color: var(--ink); }
.pg-table thead th.hot .pr { color: var(--ink); font-weight: 600; }
.pg-table tr.grp th { background: var(--cream); padding: 12px 28px; text-align: left; font-size: 14px; font-weight: 700; }
.pg-table tbody tr:not(.grp) { border-top: 1px solid rgba(17, 17, 17, .1); }
.pg-table tbody th[scope="row"] { padding: 16px 28px; text-align: left; font-weight: 500; background: var(--white); }
.pg-table th small { font-size: 14px; color: var(--muted); font-weight: 500; }
.pg-table tr.tot th, .pg-table tr.tot td { font-weight: 700; }
.pg-table td.hot { background: var(--peach); }
.pg-table td .muted { font-weight: 400; }
.pg-table tr.buy td { padding: 20px 16px; }
.pg-table tr.buy .btn { width: 100%; max-width: 220px; }

.pg-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pg-steps li { display: flex; flex-direction: column; gap: 14px; border-radius: 32px; background: var(--white); border: 2px solid var(--ink); padding: 32px; }
.pg-steps li:last-child { background: var(--green); }
.pg-steps .top { display: flex; align-items: center; justify-content: space-between; }
.pg-steps .no { width: 52px; height: 52px; border-radius: 999px; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 20px; font-weight: 700; }
.pg-steps .top .ic { width: 28px; height: 28px; }
.pg-steps h3 { margin-top: 6px; font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.pg-steps p { font-size: 17px; line-height: 1.55; color: var(--muted); }
.pg-steps li:last-child p { color: var(--ink); }
.pg-note { margin-top: 40px; display: flex; align-items: center; gap: 14px; border-radius: 24px; background: var(--yellow); border: 2px solid var(--ink); padding: 18px 24px; font-size: 16px; line-height: 1.5; }
.pg-note .ic { width: 22px; height: 22px; }

.pg-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pg-faq > div { display: flex; flex-direction: column; gap: 10px; border-radius: 28px; background: var(--white); padding: 28px 32px; }
.pg-faq h3 { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.pg-faq p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.pg-faq a, .pg-faq button { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; font-size: inherit; }
.pg-cta { padding-top: 72px; }
.cta-bar-sm { padding: 40px 48px; border-radius: 36px; }
.cta-bar-sm h2 { font-size: clamp(24px, 2.2vw, 30px); }
.cta-bar-sm p { margin-top: 8px; }
.pg-page + .ftr { margin-top: 72px; }

@media (max-width: 1180px) {
  .pg-hero-text { grid-column: span 6; padding-right: 0; }
  .calc { grid-column: span 6; padding: 26px; }
}
@media (max-width: 960px) {
  .pg-hero { grid-template-columns: 1fr; padding-top: 12px; gap: 32px; }
  .pg-hero-text, .calc { grid-column: auto; }
  .pg-hero-text { gap: 18px; padding: 0; }
  .pg-chips .chip { height: 38px; padding: 0 14px; font-size: 14px; }
  .calc { padding: 22px 20px; border-radius: 28px; gap: 18px; }
  .calc-res button { height: 54px; border-radius: 14px; }
  .calc-need b { font-size: 28px; }
  .calc-rec { flex-wrap: wrap; }
  .calc-rec .btn { width: 100%; }
  .pg-plans { padding-top: 48px; }
  .kol-bar { flex-wrap: wrap; padding: 20px; border-radius: 24px; }
  .kol-bar p { flex-basis: calc(100% - 60px); }
  .kol-bar .btn { width: 100%; }
  .pg-cmp { border-radius: 24px; }
  .pg-table { font-size: 15px; min-width: 560px; }
  .pg-table thead th:first-child { width: 150px; padding: 16px; position: sticky; left: 0; z-index: 1; background: var(--ink); }
  .pg-table thead th { padding: 16px 10px; }
  .pg-table thead .nm { font-size: 15px; }
  .pg-table thead .pr { font-size: 13px; }
  .pg-table tbody th[scope="row"] { padding: 12px 16px; position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 rgba(17, 17, 17, .1); }
  .pg-table tr.grp th { padding: 10px 16px; }
  .pg-table td { padding: 12px 10px; }
  .pg-table th small { display: block; font-size: 12px; }
  .pg-table tr.buy .btn { height: 44px; padding: 0 12px; font-size: 14px; }
  .pg-steps { grid-template-columns: 1fr; gap: 14px; }
  .pg-steps li { padding: 22px 24px; border-radius: 28px; gap: 10px; }
  .pg-steps .no { width: 44px; height: 44px; font-size: 18px; }
  .pg-steps h3 { margin-top: 2px; font-size: 20px; }
  .pg-steps p { font-size: 16px; }
  .pg-note { margin-top: 20px; align-items: flex-start; padding: 16px 18px; font-size: 15px; }
  .pg-faq { grid-template-columns: 1fr; gap: 12px; }
  .pg-faq > div { padding: 22px 24px; border-radius: 24px; }
  .pg-faq h3 { font-size: 17px; }
  .pg-cta { padding-top: 48px; }
  .cta-bar-sm { padding: 28px 22px; border-radius: 28px; }
  .pg-page + .ftr { margin-top: 48px; }
}

/* ================= THANH TOÁN (thanh-toan.html) ================= */
.tt-hdr { height: 96px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.tt-hdr .logo { justify-self: start; }
.tt-steps { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.tt-steps li { display: flex; align-items: center; gap: 8px; }
.tt-steps li.todo { color: rgba(17, 17, 17, .62); }
.tt-steps .n { width: 32px; height: 32px; border-radius: 999px; border: 2px solid rgba(17, 17, 17, .62); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 13px; font-weight: 700; }
.tt-steps li.cur .n { background: var(--orange); border-color: var(--ink); }
.tt-steps li.done .n { background: var(--ink); border-color: var(--ink); color: var(--white); }
.tt-steps li.bar { width: 40px; height: 2px; background: rgba(17, 17, 17, .25); }
.tt-steps li.bar.on { background: var(--ink); }
.tt-act { justify-self: end; display: flex; align-items: center; gap: 8px; }
.tt-act .lang-btn { height: 44px; }
.tt-pts { height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: var(--white); border: 2px solid var(--ink); font-size: 15px; font-weight: 700; white-space: nowrap; }
.tt-pts::before { content: ''; width: 10px; height: 10px; border-radius: 999px; background: var(--orange); }
.tt-acc { width: 44px; height: 44px; flex-shrink: 0; border-radius: 999px; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; }

.tt-main { padding-top: 24px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.tt-left { grid-column: span 5; display: flex; flex-direction: column; gap: 16px; }
.tt-card { border-radius: 36px; background: var(--white); border: 2px solid var(--ink); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.tt-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 600; }
.tt-top > span { color: var(--muted); }
.tt-top a { text-decoration: underline; text-underline-offset: 4px; }
.tt-pkg { display: flex; flex-direction: column; gap: 8px; }
.tt-pkg-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tt-pkg-name h1 { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.tt-pkg-name .chip { height: 28px; padding: 0 10px; font-size: 13px; background: var(--ink); color: var(--orange); }
.tt-pkg-pts { font-family: var(--display); font-size: 44px; font-weight: 700; line-height: 1.05; letter-spacing: -.045em; }
.tt-pkg-sub { font-size: 15px; color: var(--muted); }
.tt-dl { display: grid; grid-template-columns: 1fr auto; gap: 12px 16px; font-size: 16px; }
.tt-dl dt { color: var(--muted); }
.tt-dl dd { font-weight: 600; text-align: right; }
.tt-due { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-radius: 22px; background: var(--cream); padding: 16px 20px; }
.tt-due > span { font-size: 16px; font-weight: 600; }
.tt-due b { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -.04em; }
.tt-due s { font-size: 15px; color: var(--muted); margin-right: 8px; }
.tt-help { display: flex; align-items: center; gap: 14px; border-radius: 28px; background: var(--white); padding: 18px 20px; }
.tt-help .ring { width: 44px; height: 44px; flex-shrink: 0; border-radius: 999px; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; }
.tt-help > span { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.tt-help strong { font-size: 15px; color: var(--ink); }
.tt-help .btn { margin-left: auto; flex-shrink: 0; height: 44px; padding: 0 16px; font-size: 14px; }

.tt-pay { grid-column: span 7; border-radius: 36px; background: var(--white); border: 2px solid var(--ink); padding: 36px; display: flex; flex-direction: column; gap: 24px; }
.tt-pay-head { display: flex; flex-direction: column; gap: 8px; }
.tt-pay-head h2 { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.tt-pay-head p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.tt-body { display: flex; flex-direction: column; gap: 24px; }
.tt-qr-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
.tt-qr { display: flex; flex-direction: column; gap: 12px; }
.tt-qr-box { width: 280px; height: 280px; border-radius: 24px; border: 2px solid var(--ink); background: var(--white); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.tt-qr-box img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.tt-qr .btn { height: 48px; font-size: 15px; }
.tt-qr small { font-size: 13px; line-height: 1.45; color: var(--muted); text-align: center; }
.tt-info { display: flex; flex-direction: column; gap: 12px; }
.tt-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1.5px solid rgba(17, 17, 17, .12); }
.tt-row > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tt-row dt { font-size: 13px; color: var(--muted); }
.tt-row dd { font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.tt-row dd small { font-size: 13px; font-weight: 500; color: var(--muted); }
.tt-copy { width: 44px; height: 44px; flex-shrink: 0; padding: 0; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.tt-row.memo { padding: 12px 12px 12px 16px; border: 0; border-radius: 20px; background: var(--orange); }
.tt-row.memo dt { font-weight: 600; color: var(--ink); }
.tt-row.memo dd { font-family: var(--display); font-size: 18px; letter-spacing: -.01em; }
.tt-row.memo .tt-copy { border: 0; background: var(--ink); color: var(--white); }
.tt-copy.ok, .tt-row.memo .tt-copy.ok { background: var(--green); color: var(--ink); }
.tt-warn { display: flex; align-items: center; gap: 12px; border-radius: 20px; background: var(--yellow); padding: 14px 18px; font-size: 15px; line-height: 1.45; }
.tt-warn .ic { width: 22px; height: 22px; }
.tt-wait { display: flex; align-items: center; gap: 16px; border-radius: 24px; background: var(--ink); color: var(--white); padding: 18px 22px; }
.tt-wait .pulse { width: 14px; height: 14px; flex-shrink: 0; border-radius: 999px; background: var(--orange); animation: pxpulse 1.6s infinite; }
.tt-wait > span { display: flex; flex-direction: column; gap: 2px; }
.tt-wait strong { font-size: 16px; }
.tt-wait span span { font-size: 14px; color: rgba(255, 255, 255, .75); }
.tt-wait .btn { margin-left: auto; flex-shrink: 0; height: 44px; font-size: 14px; }
@keyframes pxpulse { 0% { box-shadow: 0 0 0 0 rgba(255, 95, 31, .6); } 70% { box-shadow: 0 0 0 12px rgba(255, 95, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 95, 31, 0); } }
@media (prefers-reduced-motion: reduce) { .tt-wait .pulse { animation: none; } }
.tt-done { display: flex; align-items: center; gap: 16px; border-radius: 24px; background: var(--green); border: 2px solid var(--ink); padding: 18px 18px 18px 22px; }
.tt-done .ring { width: 44px; height: 44px; flex-shrink: 0; border-radius: 999px; background: var(--ink); color: var(--green); display: flex; align-items: center; justify-content: center; }
.tt-done > span { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.tt-done strong { font-family: var(--display); font-size: 18px; }
.tt-done .btn { margin-left: auto; flex-shrink: 0; }
.tt-state { min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; border-radius: 24px; background: var(--cream); padding: 32px; }
.tt-state h3 { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.tt-state p { max-width: 440px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.tt-state .btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tt-state .spin-lg { width: 36px; height: 36px; border-radius: 999px; border: 3px solid var(--ink); border-right-color: transparent; animation: pxspin .8s linear infinite; }
.tt-page + .ftr { margin-top: 72px; }

@media (max-width: 1180px) {
  .tt-qr-grid { grid-template-columns: 1fr; gap: 24px; }
  .tt-qr { align-items: center; }
  .tt-qr .btn { width: 280px; }
  .tt-pay { padding: 28px; }
  .tt-card { padding: 28px; }
}
@media (max-width: 960px) {
  .tt-hdr { height: auto; padding-top: 12px; padding-bottom: 4px; grid-template-columns: 1fr auto; row-gap: 12px; }
  .tt-steps { grid-column: 1 / -1; grid-row: 2; justify-self: center; gap: 8px; font-size: 13px; }
  .tt-steps .n { width: 28px; height: 28px; font-size: 12px; }
  .tt-steps li.bar { width: 18px; }
  .tt-act .lang-btn { padding: 0 6px; }
  .tt-pts { height: 40px; padding: 0 12px; font-size: 14px; }
  .tt-acc { width: 40px; height: 40px; }
  .tt-main { grid-template-columns: 1fr; gap: 16px; padding-top: 12px; }
  .tt-left { display: contents; }
  .tt-order { order: 1; }
  .tt-pay { order: 2; grid-column: auto; padding: 22px 20px; border-radius: 28px; gap: 20px; }
  .tt-help { order: 3; flex-wrap: wrap; }
  .tt-help > span { flex-basis: calc(100% - 60px); }
  .tt-help .btn { width: 100%; margin-left: 0; }
  .tt-card { padding: 22px 20px; border-radius: 28px; gap: 16px; }
  .tt-pkg-pts { font-size: 34px; }
  .tt-due b { font-size: 24px; }
  .tt-pay-head h2 { font-size: 22px; }
  .tt-pay-head p { font-size: 15px; }
  .tt-qr-box { width: min(280px, 100%); height: auto; aspect-ratio: 1; }
  .tt-qr .btn { width: min(280px, 100%); }
  .tt-wait, .tt-done { flex-wrap: wrap; }
  .tt-wait .btn, .tt-done .btn { width: 100%; margin-left: 0; }
  .tt-done > span { flex-basis: calc(100% - 60px); }
  .tt-state { min-height: 220px; padding: 24px 18px; }
  .tt-page + .ftr { margin-top: 48px; }
}
@media (max-width: 600px) {
  .tt-steps li:not(.cur) .lbl { display: none; }
  .tt-act .lang-btn span { display: none; }
}

/* ================= TẢI APP (download.html) =================
 * ⛔ Khối <script> cuối download.html là HỢP ĐỒNG của _t_gate_download_links_v5151.py — không sửa.
 *   Nó đổi class os-win / os-mac trên <body>, bật .on cho #pane-win / #pane-mac và #mobile-note,
 *   aria-selected cho nút [role=tab] trong #seg, .show cho #top-cta. CSS dưới đây chỉ ĐỌC các trạng thái đó. */
body.os-win [data-os="mac"], body.os-mac [data-os="win"] { display: none !important; }
.dl code { font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', monospace; font-size: .9em; background: var(--cream); padding: 1px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.dl-hero { padding-top: 24px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.dl-hero-text { grid-column: span 7; display: flex; flex-direction: column; gap: 26px; padding: 24px 24px 0 0; }
.dl-h1 { font-family: var(--display); font-size: clamp(36px, 4.45vw, 64px); line-height: 1.08; font-weight: 700; letter-spacing: -.04em; }
.dl-lead { max-width: 600px; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.dl-req { display: flex; flex-wrap: wrap; gap: 10px; }
.dl-req li { height: 40px; padding: 0 14px; display: flex; align-items: center; gap: 8px; border-radius: 999px; background: var(--white); border: 2px solid var(--ink); font-size: 14px; font-weight: 600; }

.dl-picker { grid-column: span 5; border-radius: 36px; background: var(--white); border: 2px solid var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.dl-picker-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dl-picker-head h2 { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.dl-yours { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.dl-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 999px; background: var(--cream); }
.dl-seg button { height: 44px; border: 0; border-radius: 999px; background: transparent; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; }
.dl-seg button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.dl-picker .pane { display: none; flex-direction: column; gap: 14px; }
.dl-picker .pane.on { display: flex; }
.dl-btn { min-height: 76px; padding: 12px 18px 12px 12px; display: flex; align-items: center; gap: 14px; border-radius: 24px; background: var(--ink); color: var(--white); transition: background-color .15s; }
.dl-btn:hover { background: #2a2a2a; }
.dl-btn .ring { width: 52px; height: 52px; flex-shrink: 0; border-radius: 999px; background: var(--orange); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.dl-btn > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dl-btn strong { font-size: 18px; }
.dl-btn small { font-size: 13px; color: rgba(255, 255, 255, .75); }
.dl-btn.alt { min-height: 68px; padding: 10px 18px 10px 10px; background: transparent; border: 2px solid var(--ink); color: var(--ink); }
.dl-btn.alt:hover { background: var(--peach); }
.dl-btn.alt .ring { width: 48px; height: 48px; background: var(--cream); }
.dl-btn.alt strong { font-size: 16px; }
.dl-btn.alt small { color: var(--muted); }
.ic-fill { fill: currentColor; stroke: none; }
.dl-notes { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.55; }
.dl-notes li { display: flex; gap: 10px; }
.dl-notes .ic { margin-top: 3px; }
.dl-chiphelp { display: flex; gap: 10px; border-radius: 18px; background: var(--cream); padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.dl-chiphelp .ic { margin-top: 2px; }
.dl-mobile { display: none; gap: 12px; border-radius: 18px; background: var(--yellow); border: 2px solid var(--ink); padding: 14px; font-size: 14px; line-height: 1.5; }
.dl-mobile.on { display: flex; }
.dl-mobile > .ic { margin-top: 2px; }
.dl-mobile button { margin-top: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.dl-picker-foot { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.dl-picker-foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.dl-stats { margin-top: 48px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 36px 48px; border-radius: 40px; }
.dl-stats .stat:first-child { border-left: 0; padding-left: 0; }
.dl-stats .stat b { font-size: clamp(22px, 3.05vw, 44px); letter-spacing: -.04em; }

.dl-sh { grid-column: span 7; display: flex; flex-direction: column; gap: 20px; }
.dl-oss { align-self: flex-start; display: inline-grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 999px; background: var(--white); border: 2px solid var(--ink); }
.dl-oss button { height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; font-size: 15px; font-weight: 600; }
body.os-win .dl-oss [data-set-os="win"], body.os-mac .dl-oss [data-set-os="mac"] { background: var(--ink); color: var(--white); }
.dl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.dl-step { display: flex; flex-direction: column; gap: 14px; border-radius: 32px; background: var(--white); border: 2px solid var(--ink); padding: 32px; }
.dl-step-top { display: flex; align-items: center; justify-content: space-between; }
.dl-step-no { font-family: var(--display); font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.dl-step-top .ic { width: 28px; height: 28px; }
.dl-step h3 { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.03em; line-height: 1.25; }
.dl-step p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.dl-step p b, .dl-faq-a b, .dl-notes b { color: var(--ink); }
.dl-callout { margin-top: auto; display: flex; gap: 10px; border-radius: 18px; background: var(--cream); padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.dl-callout.warn { background: var(--yellow); }
.dl-callout .ic { margin-top: 2px; }
.dl-path-label { margin-bottom: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.dl-path { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; vertical-align: middle; }
.dl-path .ic { width: 14px; height: 14px; color: var(--muted); }
.kbd { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 8px; background: var(--cream); border: 1.5px solid rgba(17, 17, 17, .2); font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.kbd.hi { background: var(--orange); border-color: var(--ink); }
.dl-step .dl-path-alt { margin-top: 8px; font-size: 14px; }
.dl-after { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dl-after p { display: flex; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.dl-after .ic { margin-top: 2px; color: var(--ink); }
.dl-after strong { color: var(--ink); }
.dl-after a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.dl-others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.dl-ocard { position: relative; display: flex; flex-direction: column; gap: 14px; border-radius: 32px; background: var(--white); border: 2px solid var(--ink); padding: 32px; }
.dl-ocard.hot { background: var(--orange); }
.dl-ocard .ring { width: 52px; height: 52px; border-radius: 999px; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; }
.dl-ocard .chip { position: absolute; top: 28px; right: 28px; }
.dl-ocard h3 { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.dl-ocard p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.dl-ocard.hot p { color: var(--ink); }
.dl-ocard .meta { font-size: 14px; font-weight: 600; }
.dl-ocard .btn { margin-top: auto; align-self: flex-start; }

.dl-faq-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.dl-faq-head { grid-column: span 4; position: sticky; top: calc(var(--hdr-h) + 24px); display: flex; flex-direction: column; gap: 20px; padding-right: 16px; align-items: flex-start; }
.dl-faq-head h2 { font-size: clamp(30px, 3.05vw, 44px); }
.dl-faq-head p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.dl-faq { grid-column: 5 / span 8; border-bottom: 2px solid var(--ink); }
.dl-faq details { border-top: 2px solid var(--ink); }
.dl-faq summary { list-style: none; min-height: 72px; padding: 14px 0; display: flex; align-items: center; gap: 16px; font-size: 17px; font-weight: 600; cursor: pointer; }
.dl-faq summary::-webkit-details-marker, .dl-adv summary::-webkit-details-marker { display: none; }
.dl-faq summary .q { flex-grow: 1; }
.dl-tag { width: 92px; flex-shrink: 0; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 700; }
.dl-tag.gen { background: var(--orange); color: var(--ink); }
.dl-tag.all { background: var(--sand); color: var(--ink); }
details[open] > summary .acc-ic { background: var(--orange); }
details[open] > summary .acc-ic svg { transform: rotate(45deg); }
.dl-faq-a { padding: 0 64px 22px 108px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.dl-faq-a p + p, .dl-faq-a ol + p, .dl-faq-a p + ol { margin-top: 10px; }
.dl-faq-a ol { padding-left: 20px; list-style: decimal; display: flex; flex-direction: column; gap: 8px; }

.dl-adv { border-radius: 32px; background: var(--white); border: 2px solid var(--ink); }
.dl-adv > summary { list-style: none; display: flex; align-items: center; gap: 18px; padding: 24px 28px; cursor: pointer; }
.dl-adv > summary .ring { width: 52px; height: 52px; flex-shrink: 0; border-radius: 999px; background: var(--cream); display: flex; align-items: center; justify-content: center; }
.dl-adv > summary > span:nth-child(2) { flex-grow: 1; display: flex; flex-direction: column; gap: 4px; }
.dl-adv > summary b { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.dl-adv > summary span span { font-size: 15px; line-height: 1.55; color: var(--muted); }
.dl-rows { padding: 0 28px 8px; }
.dl-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 150px; gap: 20px; align-items: center; padding: 18px 0; border-top: 1.5px solid rgba(17, 17, 17, .12); }
.dl-row .ring { width: 44px; height: 44px; border-radius: 999px; background: var(--cream); display: flex; align-items: center; justify-content: center; }
.dl-row b { font-size: 16px; }
.dl-row p { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.dl-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.dl-tags > span { height: 24px; padding: 0 8px; border-radius: 999px; background: var(--cream); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; }
.dl-row .btn { height: 44px; font-size: 14px; }

.dl-vers { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-bottom: 24px; margin-bottom: 8px; border-bottom: 1px solid rgba(242, 238, 230, .16); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; letter-spacing: .04em; color: rgba(242, 238, 230, .64); }
.dl-vers b { color: var(--cream); font-weight: 600; }
.dl-page + .ftr { margin-top: 72px; padding-top: 40px; }
.dl-page + .ftr .wrap + .wrap { padding-top: 24px; }
.dl-float { position: fixed; right: 24px; bottom: 24px; z-index: 30; height: 56px; padding: 0 22px 0 18px; display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 16px; font-weight: 600; box-shadow: 0 12px 32px rgba(17, 17, 17, .25); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .2s, transform .2s; }
.dl-float.show { opacity: 1; transform: none; pointer-events: auto; }
.dl-float .ic { color: var(--orange); }

@media (max-width: 1180px) {
  .dl-hero-text { grid-column: span 6; padding-right: 0; }
  .dl-picker { grid-column: span 6; }
  .dl-faq-head { grid-column: span 5; }
  .dl-faq { grid-column: 6 / span 7; }
  .dl-faq-a { padding-left: 0; padding-right: 0; }
}
@media (max-width: 960px) {
  .dl-hero { grid-template-columns: 1fr; padding-top: 12px; gap: 28px; }
  .dl-hero-text, .dl-picker { grid-column: auto; }
  .dl-hero-text { gap: 18px; padding: 0; }
  .dl-req li { height: 36px; padding: 0 12px; font-size: 13px; }
  .dl-picker { padding: 20px; border-radius: 28px; }
  .dl-btn strong { font-size: 16px; }
  .dl-stats { margin-top: 32px; padding: 24px 20px; border-radius: 28px; }
  .dl-stats .stat b { font-size: 20px; }
  .dl-sh { grid-column: auto; }
  .dl-steps { grid-template-columns: 1fr; gap: 14px; }
  .dl-step { padding: 22px 24px; border-radius: 28px; gap: 12px; }
  .dl-step-no { font-size: 30px; }
  .dl-step h3 { font-size: 19px; }
  .dl-step p { font-size: 15px; }
  .dl-after { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .dl-others { grid-template-columns: 1fr; gap: 14px; }
  .dl-ocard { padding: 24px; border-radius: 28px; }
  .dl-ocard .chip { top: 22px; right: 22px; }
  .dl-ocard h3 { font-size: 20px; }
  .dl-faq-wrap { grid-template-columns: 1fr; gap: 28px; }
  .dl-faq-head, .dl-faq { grid-column: auto; }
  .dl-faq-head { position: static; padding-right: 0; gap: 14px; }
  .dl-faq-head p { font-size: 16px; }
  .dl-faq summary { flex-wrap: wrap; gap: 8px 12px; font-size: 16px; min-height: 64px; }
  .dl-faq summary .q { flex-basis: calc(100% - 56px); order: 2; }
  .dl-faq summary .acc-ic { order: 3; }
  .dl-tag, .dl-tag.gen, .dl-tag.all { order: 1; flex-basis: 100%; width: auto; height: auto; padding: 0; justify-content: flex-start; background: none; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
  .dl-faq-a { padding: 0 0 18px; font-size: 15px; }
  .dl-adv > summary { padding: 20px; gap: 14px; align-items: flex-start; }
  .dl-adv > summary .ring { display: none; }
  .dl-adv > summary b { font-size: 18px; }
  .dl-adv > summary span span { font-size: 14px; }
  .dl-rows { padding: 0 20px 8px; }
  .dl-row { grid-template-columns: 44px minmax(0, 1fr); gap: 12px 14px; }
  .dl-row .btn { grid-column: 1 / -1; }
  .dl-page + .ftr { margin-top: 48px; }
}
@media (max-width: 600px) {
  .dl-float { left: 20px; right: 20px; bottom: 16px; justify-content: center; }
  .dl-oss button { padding: 0 16px; }
}

/* ================= HƯỚNG DẪN (huong-dan.html) — khung + thẻ video do js/huong-dan.js vẽ ================= */
.gd-hero { padding-top: 40px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.gd-hero-text { grid-column: span 7; display: flex; flex-direction: column; gap: 20px; }
.gd-h1 { font-family: var(--display); font-size: clamp(36px, 4.45vw, 64px); line-height: 1.08; font-weight: 700; letter-spacing: -.04em; }
.gd-lead { max-width: 560px; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--muted); }
.gd-quick { grid-column: span 5; display: flex; flex-direction: column; gap: 10px; }
.gd-quick > span { font-size: 14px; font-weight: 600; color: var(--muted); }
.gd-quick div { display: flex; flex-wrap: wrap; gap: 10px; }
.gd-quick a { height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: var(--white); border: 2px solid var(--ink); font-size: 15px; font-weight: 600; }
.gd-quick a:hover { background: var(--peach); }
#gd-feature { padding-top: 48px; scroll-margin-top: 16px; }
.gd-pfeat { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
/* Khung phát giữ đúng 16:9 (ảnh bìa có chữ — cắt xén là mất chữ); thẻ thông tin bên cạnh cao theo nội dung */
.gd-pfeat .gd-frame { grid-column: span 7; border-radius: 40px; }
.gd-pfeat .vplay { width: 104px; height: 104px; margin: -52px 0 0 -52px; }
.gd-pinfo { grid-column: span 5; border-radius: 40px; background: var(--white); border: 2px solid var(--ink); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.gd-pmeta { font-size: 14px; color: var(--muted); }
.gd-pinfo h2 { font-family: var(--display); font-size: 24px; line-height: 1.3; font-weight: 700; letter-spacing: -.02em; }
.gd-pinfo > p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.gd-chaps { display: flex; flex-direction: column; }
.gd-chaps > strong { margin-bottom: 4px; font-size: 14px; }
.gd-chap { min-height: 40px; padding: 6px 0; display: flex; align-items: center; gap: 14px; border: 0; border-bottom: 1.5px solid rgba(17, 17, 17, .1); background: transparent; font-size: 15px; text-align: left; }
.gd-chap:last-child { border-bottom: 0; }
.gd-chap strong { width: 44px; flex-shrink: 0; }
.gd-chap:hover span { color: var(--orange); }
.gd-yt { margin-top: auto; }
.gd-all-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.gd-all-head > div { display: flex; align-items: baseline; gap: 16px; }
.gd-all-head h2 { font-size: clamp(30px, 3.05vw, 44px); }
.gd-count { font-size: 16px; font-weight: 600; color: var(--muted); }
.gd-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-filters button { height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); font-size: 15px; font-weight: 600; }
.gd-filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.gd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.gd-card { display: flex; flex-direction: column; gap: 14px; }
.gd-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: var(--ink); }
.gd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.gd-card:hover .gd-thumb img { transform: scale(1.03); }
.gd-card[aria-current="true"] .gd-thumb { box-shadow: 0 0 0 4px var(--cream), 0 0 0 7px var(--orange); }
.gd-thumb .vdur-sm { position: absolute; bottom: 12px; right: 12px; height: 26px; padding: 0 10px; display: flex; align-items: center; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 700; }
.gd-cmeta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.gd-ctitle { font-size: 17px; line-height: 1.4; font-weight: 700; }

.gd-bridge { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; border-radius: 44px; background: var(--ink); color: var(--white); padding: 56px; }
.gd-bridge-text { grid-column: span 5; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.gd-bridge h2 { font-family: var(--display); font-size: clamp(26px, 2.65vw, 38px); line-height: 1.15; font-weight: 700; letter-spacing: -.035em; }
.gd-bridge-text > p { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.gd-bridge-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-bridge-chips li { height: 36px; padding: 0 14px; display: flex; align-items: center; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .35); font-size: 14px; }
.gd-vlink { width: 100%; margin-top: 6px; display: grid; grid-template-columns: 152px minmax(0, 1fr); gap: 16px; align-items: center; border-radius: 24px; background: rgba(255, 255, 255, .08); padding: 10px; }
.gd-vlink:hover { background: rgba(255, 255, 255, .14); }
.gd-vlink > span:first-child { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.gd-vlink img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gd-vlink .pl { position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 999px; background: var(--orange); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.gd-vlink .pl svg { width: 14px; height: 14px; margin-left: 2px; fill: currentColor; }
.gd-vlink > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.gd-vlink strong { font-size: 16px; line-height: 1.35; }
.gd-vlink small { font-size: 13px; color: rgba(255, 255, 255, .7); }
.gd-bridge-dl { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.gd-bsteps { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 14px; }
.gd-bsteps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; border-radius: 28px; background: var(--cream); color: var(--ink); padding: 24px; }
.gd-bsteps li:nth-child(3) { background: var(--orange); }
.gd-bsteps .no { width: 52px; height: 52px; border-radius: 999px; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 20px; font-weight: 700; }
.gd-bsteps li > span:last-child { display: flex; flex-direction: column; gap: 6px; }
.gd-bsteps strong { font-family: var(--display); font-size: 18px; letter-spacing: -.02em; }
.gd-bsteps li > span:last-child > span { font-size: 15px; line-height: 1.55; color: var(--muted); }
.gd-bsteps li:nth-child(3) > span:last-child > span { color: var(--ink); }
.gd-bsteps li.note { display: block; padding: 4px 8px 0; background: none; color: rgba(255, 255, 255, .72); font-size: 14px; line-height: 1.5; }
.gd-bsteps code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .92em; color: var(--white); }
.gd-page + .ftr { margin-top: var(--sec); }

@media (max-width: 1180px) {
  .gd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gd-pfeat .gd-frame { grid-column: span 12; }
  .gd-pinfo { grid-column: span 12; }
  .gd-bridge { padding: 44px; }
  .gd-bridge-text { grid-column: span 6; }
  .gd-bsteps { grid-column: 7 / span 6; }
}
@media (max-width: 960px) {
  .gd-hero { grid-template-columns: 1fr; padding-top: 16px; gap: 24px; }
  .gd-hero-text, .gd-quick { grid-column: auto; }
  .gd-hero-text { gap: 16px; }
  .gd-quick a { height: 40px; padding: 0 14px; font-size: 14px; }
  #gd-feature { padding-top: 32px; }
  .gd-pfeat { gap: 16px; }
  .gd-pfeat .gd-frame { border-radius: 24px; }
  .gd-pfeat .vplay { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
  .gd-pinfo { padding: 22px 20px; border-radius: 28px; gap: 12px; }
  .gd-pinfo h2 { font-size: 19px; }
  .gd-all-head { margin-bottom: 20px; gap: 14px; }
  .gd-filters button { height: 40px; padding: 0 14px; font-size: 14px; }
  .gd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .gd-thumb { border-radius: 18px; }
  .gd-ctitle { font-size: 15px; }
  .gd-cmeta { flex-wrap: wrap; font-size: 12px; }
  .gd-bridge { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; border-radius: 32px; }
  .gd-bridge-text, .gd-bsteps { grid-column: auto; }
  .gd-vlink { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
  .gd-bsteps li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px; border-radius: 22px; }
  .gd-bsteps .no { width: 44px; height: 44px; font-size: 17px; }
  .gd-bsteps strong { font-size: 16px; }
}
@media (max-width: 600px) {
  .gd-grid { grid-template-columns: 1fr; }
}

/* ================= PHÁP LÝ (terms.html · privacy.html · refund.html) =================
   Nội dung văn bản giữ NGUYÊN VĂN (F16) — chỉ bọc bằng <main class="wrap lg-doc">. Mọi luật đặt trong .lg-doc.
   Ẩn/hiện 2 thứ tiếng do luật !important trong <head> từng trang (data-l) — luật ở đây đặt display cũng không đè được. */
.lg-hero { padding-top: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.lg-h1 { max-width: 960px; font-family: var(--display); font-size: clamp(34px, 4.3vw, 62px); line-height: 1.08; font-weight: 700; letter-spacing: -.04em; }
.lg-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.lg-pill { height: 36px; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--line); font-size: 14px; color: var(--muted); }
.lg-pill b { color: var(--ink); font-weight: 600; }
.lg-docs { display: flex; flex-wrap: wrap; gap: 8px; }
.lg-docs a { height: 44px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); font-size: 15px; font-weight: 600; }
.lg-docs a:hover { background: var(--peach); }
.lg-docs a[aria-current] { background: var(--ink); color: var(--white); }

.lg-doc { padding-top: 48px; display: grid; grid-template-columns: 300px minmax(0, 1fr); column-gap: 64px; align-items: start; }
.lg-doc > * { grid-column: 2; min-width: 0; max-width: 800px; }
.lg-doc > .toc { grid-column: 1; grid-row: 1 / span 40; position: sticky; top: calc(var(--hdr-h) + 24px); max-height: calc(100vh - var(--hdr-h) - 48px); overflow-y: auto; max-width: none; border-radius: 28px; background: var(--white); border: 2px solid var(--ink); padding: 24px; }
.lg-doc .toc .t { margin-bottom: 10px; font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.lg-doc .toc ol { list-style: none; counter-reset: toc; margin: 0; padding: 0; }
.lg-doc .toc li { counter-increment: toc; position: relative; padding: 7px 0 7px 34px; font-size: 15px; line-height: 1.4; }
.lg-doc .toc li::before { content: counter(toc, decimal-leading-zero); position: absolute; left: 0; top: 8px; font-family: var(--display); font-size: 12px; font-weight: 700; color: var(--muted); }
.lg-doc .toc a:hover { color: var(--orange); }
.lg-doc section { margin-bottom: 56px; scroll-margin-top: 24px; }
.lg-doc h2 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; font-family: var(--display); font-size: clamp(22px, 2vw, 28px); line-height: 1.2; font-weight: 700; letter-spacing: -.03em; }
.lg-doc h2 .n { flex-shrink: 0; min-width: 44px; height: 32px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--orange); font-size: 14px; letter-spacing: 0; transform: translateY(-3px); }
.lg-doc h3 { margin: 26px 0 10px; font-size: 18px; font-weight: 700; }
.lg-doc p, .lg-doc li { font-size: 17px; line-height: 1.7; color: var(--muted); }
.lg-doc p { margin-bottom: 14px; }
.lg-doc b, .lg-doc strong { color: var(--ink); font-weight: 700; }
.lg-doc section a, .lg-doc .note a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.lg-doc ul { list-style: none; margin: 0 0 14px; padding: 0; }
.lg-doc ul li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.lg-doc ul li::before { content: ""; position: absolute; left: 6px; top: .72em; width: 8px; height: 8px; border-radius: 999px; background: var(--orange); }
.lg-doc ol.steps { list-style: none; counter-reset: st; margin: 0 0 14px; padding: 0; background: none; border-radius: 0; gap: 0; grid-template-columns: none; }
.lg-doc ol.steps li { counter-increment: st; position: relative; padding-left: 48px; margin-bottom: 16px; }
.lg-doc ol.steps li::before { content: counter(st); position: absolute; left: 0; top: .1em; width: 32px; height: 32px; border-radius: 999px; background: var(--ink); color: var(--white); font-family: var(--display); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.lg-doc code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .88em; background: var(--sand); border-radius: 8px; padding: 2px 8px; color: var(--ink); }
.lg-doc .tw { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 6px 0 18px; border-radius: 24px; border: 2px solid var(--ink); background: var(--white); }
.lg-doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.lg-doc th { text-align: left; padding: 14px 18px; background: var(--sand); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.lg-doc td { padding: 14px 18px; border-top: 1.5px solid var(--line); vertical-align: top; font-size: 15px; line-height: 1.55; color: var(--muted); }
.lg-doc td:first-child { width: 46%; color: var(--ink); font-weight: 600; }
.lg-doc .yes { color: #1d7a47; font-weight: 700; }
.lg-doc .part { color: #a14b00; font-weight: 700; }
.lg-doc .nope { color: #b3261e; font-weight: 700; }
.lg-doc .note { margin: 20px 0; padding: 20px 24px; border-radius: 24px; background: var(--peach); border: 2px solid var(--ink); }
.lg-doc > .note:first-child { margin-top: 0; margin-bottom: 40px; }
.lg-doc .note.good { background: #DDF7EA; }
.lg-doc .note.warn { background: #FFF4CC; }
.lg-doc .note p { color: var(--ink); }
.lg-doc .note p:last-child, .lg-doc p:last-child, .lg-doc ul:last-child, .lg-doc ol.steps:last-child, .lg-doc .tw:last-child { margin-bottom: 0; }
.lg-doc + .ftr { margin-top: 56px; }
@media (max-width: 1180px) { .lg-doc { grid-template-columns: 260px minmax(0, 1fr); column-gap: 40px; } }
@media (max-width: 960px) {
  .lg-hero { padding-top: 16px; gap: 16px; }
  .lg-docs a { height: 40px; padding: 0 14px; font-size: 14px; }
  .lg-doc { padding-top: 32px; grid-template-columns: minmax(0, 1fr); }
  .lg-doc > *, .lg-doc > .toc { grid-column: 1; grid-row: auto; position: static; max-width: none; }
  .lg-doc > .toc { margin-bottom: 40px; padding: 20px; border-radius: 24px; max-height: none; overflow: visible; }
  .lg-doc section { margin-bottom: 44px; }
  .lg-doc p, .lg-doc li { font-size: 16px; }
  .lg-doc h2 .n { min-width: 38px; height: 28px; font-size: 13px; }
  .lg-doc th, .lg-doc td { padding: 12px 14px; font-size: 14px; }
  .lg-doc td:first-child { width: auto; }
  .lg-doc .note { padding: 16px 18px; border-radius: 20px; }
}

/* ================= PIXELIUS LÀ GÌ (pixelius-la-gi.html) — dùng lại .feats · .dl-faq · .cta-bar · .cmp ================= */
.ab-hero { padding-top: 40px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.ab-hero-text { grid-column: span 7; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.ab-h1 { font-family: var(--display); font-size: clamp(38px, 5vw, 72px); line-height: 1.05; font-weight: 700; letter-spacing: -.04em; }
.ab-lead { max-width: 640px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.ab-lead b { color: var(--ink); }
.ab-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ab-vis { grid-column: 9 / span 4; }
.ab-vis .cmp { aspect-ratio: 4 / 5; border-radius: 40px; border: 2px solid var(--ink); }
.ab-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.ab-how { border-radius: 40px; background: var(--ink); color: var(--cream); padding: 48px 56px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.ab-how h2 { grid-column: span 5; font-family: var(--display); font-size: clamp(26px, 2.8vw, 40px); line-height: 1.15; font-weight: 700; letter-spacing: -.035em; }
.ab-how p { grid-column: 7 / span 6; font-size: 18px; line-height: 1.65; color: rgba(242, 238, 230, .82); }
.ab-how p b { color: var(--orange); }
.ab-tw { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 28px; border: 2px solid var(--ink); background: var(--white); }
.ab-tw table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.ab-tw th, .ab-tw td { padding: 14px 18px; text-align: left; vertical-align: top; }
.ab-tw thead th { background: var(--sand); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ab-tw td { border-top: 1.5px solid var(--line); color: var(--muted); line-height: 1.5; }
.ab-tw td:first-child { color: var(--ink); font-weight: 600; }
.ab-tw .col-px { background: var(--peach); color: var(--ink); }
.ab-tw thead th.col-px { background: var(--orange); }
.ab-tw .yes { color: #1d7a47; font-weight: 700; }
.ab-tw .no { color: var(--muted); }
.ab-note { margin-top: 14px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.ab-pick { margin-top: 20px; max-width: 900px; font-size: 18px; line-height: 1.6; }
.ab-page .dl-faq-a { padding-left: 0; }
@media (max-width: 1180px) { .ab-vis { grid-column: 8 / span 5; } }
@media (max-width: 960px) {
  .ab-hero { grid-template-columns: 1fr; padding-top: 16px; gap: 28px; }
  .ab-hero-text, .ab-vis { grid-column: auto; }
  .ab-vis .cmp { aspect-ratio: 4 / 3; border-radius: 28px; }
  .ab-feats { grid-template-columns: 1fr; }
  .ab-how { grid-template-columns: 1fr; padding: 28px 24px; border-radius: 32px; gap: 14px; }
  .ab-how h2, .ab-how p { grid-column: auto; }
  .ab-how p { font-size: 16px; }
  .ab-tw { border-radius: 22px; }
  .ab-pick { font-size: 16px; }
}

/* ================= TRANG TIỆN ÍCH dạng thẻ đăng nhập (reset-password.html · plugin-login.html) ================= */
.auth-card.solo { max-width: 920px; grid-template-columns: 360px minmax(0, 1fr); }
.solo-mark { width: 88px; height: 88px; border-radius: 28px; background: var(--ink); color: var(--orange); border: 3px solid var(--cream); display: flex; align-items: center; justify-content: center; transform: rotate(-6deg); }
.solo-mark .ic { width: 40px; height: 40px; }
.input-wrap .show-btn { position: absolute; top: 6px; right: 6px; height: 40px; padding: 0 12px; border: 0; border-radius: 12px; background: transparent; font-size: 14px; font-weight: 600; color: var(--muted); }
.input-wrap .show-btn:hover { color: var(--ink); background: var(--cream); }
.solo-state { font-size: 15px; line-height: 1.55; }
.solo-state.ok { color: #1d7a47; font-weight: 700; }
.solo-state.err { color: #b3261e; font-weight: 600; }
.solo-state:empty { display: none; }
.solo-social { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.solo-social .btn { width: 300px; max-width: 100%; }
.solo-spin { width: 28px; height: 28px; border-radius: 999px; border: 3px solid var(--sand); border-top-color: var(--orange); animation: pxspin .8s linear infinite; }
@media (prefers-reduced-motion: reduce) { .solo-spin { animation-duration: 2.4s; } }
@media (max-width: 960px) { .auth-card.solo { grid-template-columns: 1fr; } }
