/* Hallmark · genre: atmospheric · macrostructure: Photographic · theme: Midnight
 * nav: N5 floating pill · footer: Ft1 mast-headed · enrichment: none (23 asset thật)
 * axes — paper: dark oklch(15% 0.018 258) · display: sentence-case grotesk · accent: warm ember H48
 * deviation 1: Photographic nói tiêu đề chỉ là chú thích nhỏ. Trang này phải bán hàng nên
 *              hero giữ một H1 thật; các fold còn lại theo đúng luật ảnh-tràn / chữ-hẹp.
 * deviation 2: display dùng Archivo thay Geist — Geist thiếu bộ dấu tiếng Việt.
 * pre-emit critique: P5 H5 E5 S5 R4 V5
 */

/* ==========================================================
   0. TOKEN — mọi màu, mọi font đều gọi qua tên
   ========================================================== */
:root {
  --color-paper:    oklch(15% 0.018 258);
  --color-paper-2:  oklch(19.5% 0.020 258);
  --color-paper-3:  oklch(25% 0.022 258);

  --color-ink:      oklch(97% 0.004 258);
  --color-ink-2:    oklch(81% 0.010 258);
  --color-muted:    oklch(63% 0.012 258);

  --color-accent:   oklch(74% 0.175 48);
  --color-accent-2: oklch(66% 0.170 22);
  --color-on-accent:oklch(17% 0.020 48);

  --color-rule:     oklch(97% 0.004 258 / 0.12);
  --color-rule-2:   oklch(97% 0.004 258 / 0.06);
  --color-focus:    oklch(82% 0.150 48);
  --color-ok:       oklch(76% 0.150 152);
  --color-warn:     oklch(78% 0.150 85);
  --color-bad:      oklch(70% 0.180 25);

  --bloom-1:  oklch(74% 0.175 48 / 0.15);
  --bloom-2:  oklch(66% 0.170 22 / 0.10);
  --qr-paper: oklch(99% 0 0);
  --scrim:    oklch(12% 0.020 258 / 0.78);
  --scrim-2:  oklch(8%  0.015 258 / 0.86);
  --ph-ink:   oklch(52% 0.012 258);
  --accent-lift: oklch(79% 0.175 48);

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body:    'Be Vietnam Pro', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --text-display: clamp(2.4rem, 5.1vw + 0.7rem, 4.6rem);
  --text-h2:      clamp(1.8rem, 3.1vw + 0.6rem, 2.95rem);
  --text-h3:      clamp(1.22rem, 1.1vw + 0.9rem, 1.68rem);
  --text-lede:    clamp(1.02rem, 0.5vw + 0.9rem, 1.2rem);

  --gutter: clamp(1.1rem, 4vw, 3.5rem);
  --band:   clamp(3.8rem, 8.5vw, 7.5rem);
  --wrap:   1240px;
  --read:   66ch;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================
   1. Nền — hai vệt sáng ấm, cố định, không animate
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }

html, body { overflow-x: clip; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background:
    radial-gradient(58% 42% at 84% 4%, var(--bloom-1) 0%, transparent 68%),
    radial-gradient(52% 40% at 4% 58%, var(--bloom-2) 0%, transparent 66%),
    var(--color-paper);
  background-attachment: fixed;
  color: var(--color-ink-2);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.hidden { display: none !important; }
.hp {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* ==========================================================
   2. Chữ — hoa đầu câu, không viết thường, không nghiêng
   ========================================================== */
.display, .h2, .h3 {
  font-family: var(--font-display);
  font-style: normal;
  color: var(--color-ink);
  margin: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
  min-width: 0;
}
.display {
  font-weight: 800;
  font-size: var(--text-display);
  line-height: 1.05;
  letter-spacing: -0.028em;
  max-width: 16ch;
}
.h2 {
  font-weight: 700;
  font-size: var(--text-h2);
  line-height: 1.09;
  letter-spacing: -0.022em;
  max-width: 24ch;
}
.h3 {
  font-weight: 700;
  font-size: var(--text-h3);
  line-height: 1.2;
  letter-spacing: -0.012em;
}

p { margin: 0; text-wrap: pretty; }

.lede {
  font-size: var(--text-lede);
  line-height: 1.62;
  color: var(--color-ink-2);
  max-width: 58ch;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-accent);
}
.label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--color-muted);
}
.mono  { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.sm    { font-size: 0.9rem;  line-height: 1.58; }
.xs    { font-size: 0.78rem; line-height: 1.5; }
.muted { color: var(--color-muted); }
.sig   { color: var(--color-accent); }

/* ==========================================================
   3. Khung — dải chữ hẹp, dải ảnh tràn viền
   ========================================================== */
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.narrow { max-width: var(--read); }
.band { padding-block: var(--band); }
.band--tight { padding-block: clamp(2.4rem, 5vw, 4.2rem); }

/* mép ảnh chính là đường phân cách — không kẻ thêm gạch nào */
.bleed {
  display: grid;
  gap: 2px;
  /* --n đặt inline theo từng dải; --cols là chốt chặn của media query, và vì
     media query không thể đè style inline nên phải đi qua biến thứ hai này */
  grid-template-columns: repeat(var(--cols, var(--n, 3)), minmax(0, 1fr));
  background: var(--color-rule-2);
}
.bleed > * { min-width: 0; }
.bleed img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: var(--ar, 4 / 5);
  background: var(--color-paper-2);
}
.bleed--wide img { --ar: 16 / 10; }
.bleed--tall img { --ar: 3 / 4; }
.bleed__cap { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; margin-top: 0.85rem; }

/* ==========================================================
   4. N5 · pill nổi
   ========================================================== */
.pill {
  position: fixed;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: inline-flex; align-items: center; gap: clamp(0.7rem, 2vw, 1.6rem);
  max-width: calc(100% - 1.6rem);
  padding: 0.45rem 0.5rem 0.45rem 1.1rem;
  border: 1px solid var(--color-rule);
  border-radius: 999px;
  background: color-mix(in oklch, var(--color-paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow: 0 14px 40px -22px oklch(0% 0 0 / 0.8);
}
.pill__mark {
  font-family: var(--font-display); font-weight: 800;
  font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-ink); text-decoration: none; white-space: nowrap;
}
.pill__links { display: flex; gap: 1.35rem; }
.pill__links a {
  font-size: 0.86rem; color: var(--color-ink-2);
  text-decoration: none; white-space: nowrap;
  transition: color 180ms var(--ease);
}
.pill__links a:hover { color: var(--color-ink); }
.pill__cta {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-size: 0.86rem; font-weight: 600;
  text-decoration: none; white-space: nowrap;
}
.pill__cta:hover { background: var(--accent-lift); }

.burger {
  display: none;
  width: 38px; height: 34px;
  border: 1px solid var(--color-rule);
  border-radius: 999px;
  background: transparent;
  cursor: pointer; position: relative;
}
.burger span, .burger::before, .burger::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 1.5px;
  background: var(--color-ink); border-radius: 2px;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}
.burger span    { top: 50%; margin-top: -0.75px; }
.burger::before { top: 11px; }
.burger::after  { bottom: 11px; }
.burger[aria-expanded="true"] span    { opacity: 0; }
.burger[aria-expanded="true"]::before { top: 50%; transform: rotate(45deg); }
.burger[aria-expanded="true"]::after  { bottom: auto; top: 50%; transform: rotate(-45deg); }

.mnav {
  position: fixed; inset: 68px 0.8rem auto 0.8rem;
  z-index: 39;
  display: none; flex-direction: column;
  padding: 0.5rem;
  border: 1px solid var(--color-rule);
  border-radius: var(--r-lg);
  background: color-mix(in oklch, var(--color-paper) 96%, transparent);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.mnav.is-open { display: flex; }
.mnav a {
  padding: 0.75rem 0.9rem;
  border-radius: var(--r-sm);
  color: var(--color-ink); text-decoration: none; font-size: 0.98rem;
}
.mnav a:hover { background: var(--color-paper-3); }

/* ==========================================================
   5. Nút
   ========================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 600; line-height: 1.15;
  text-decoration: none; text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms var(--ease),
              border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.btn--sig {
  background: var(--color-accent);
  color: var(--color-on-accent);
  box-shadow: 0 12px 34px -18px oklch(74% 0.175 48 / 0.9);
}
.btn--sig:hover { background: var(--accent-lift); box-shadow: 0 16px 42px -18px oklch(74% 0.175 48 / 1); }
.btn--line { background: transparent; border-color: var(--color-rule); color: var(--color-ink); }
.btn--line:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

.copy {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--color-rule);
  border-radius: 999px;
  background: transparent;
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}
.copy:hover { color: var(--color-ink); border-color: var(--color-ink-2); }
.copy.is-done { color: var(--color-ok); border-color: var(--color-ok); }

/* ==========================================================
   6. HERO — fold ảnh, reel là nhân vật chính
   ========================================================== */
.hero { padding-block: clamp(6.2rem, 11vw, 9rem) clamp(2.6rem, 5vw, 4.4rem); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hero__meta {
  display: grid; gap: 0.55rem;
  margin: 1.5rem 0 0; padding: 0; list-style: none;
}
.hero__meta li {
  display: flex; align-items: flex-start; gap: 0.55rem;
  font-size: 0.9rem; color: var(--color-ink-2); max-width: 48ch;
}
.hero__meta svg { flex: none; margin-top: 3px; color: var(--color-accent); }

.hero__pipe {
  margin-top: 1.15rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(0.95rem, 1vw + 0.7rem, 1.16rem);
  color: var(--color-ink);
}
.hero__pipe i { font-style: normal; color: var(--color-accent); padding-inline: 0.35em; }

.hero__buy {
  margin-top: clamp(1.5rem, 3vw, 2.2rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--color-rule-2);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.25rem; }

.price__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 0.8rem; }
.price__was { font-family: var(--font-mono); font-size: 1rem; color: var(--color-muted); text-decoration: line-through; }
.price__now {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.1rem, 3.4vw + 0.8rem, 3.1rem);
  line-height: 1; letter-spacing: -0.02em;
  color: var(--color-accent); font-variant-numeric: tabular-nums;
}
.price__unit { font-size: 0.88rem; color: var(--color-muted); }
.price__note { margin-top: 0.65rem; font-size: 0.9rem; color: var(--color-muted); max-width: 46ch; }

.cd { margin-top: 1.35rem; }
.cd__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.11em; text-transform: uppercase; color: var(--color-muted); }
.cd__t { display: flex; gap: 0.5rem; margin-top: 0.55rem; }
.cd__u {
  display: flex; flex-direction: column; align-items: center;
  min-width: 58px; padding: 0.5rem 0.4rem;
  border: 1px solid var(--color-rule);
  border-radius: var(--r-sm);
  background: var(--color-paper-2);
}
.cd__u span {
  font-family: var(--font-mono); font-weight: 700;
  font-size: 1.28rem; line-height: 1.1;
  color: var(--color-ink); font-variant-numeric: tabular-nums;
}
.cd__u small { font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--color-muted); }

/* Chiều cao dẫn, bề ngang suy ra từ tỉ lệ — kẹp max-height sẽ phá 9:16 và cắt mất video */
.reel__stage {
  position: relative;
  aspect-ratio: 9 / 16;
  height: min(78vh, 660px);
  width: auto;
  margin-inline: auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--color-paper-2);
  box-shadow: 0 40px 90px -40px oklch(0% 0 0 / 0.9), 0 0 0 1px var(--color-rule) inset;
}
.reel__stage video { width: 100%; height: 100%; object-fit: cover; }
.reel__badge {
  position: absolute; top: 12px; left: 12px;
  padding: 0.3rem 0.65rem; border-radius: 999px;
  background: var(--scrim);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-ink);
}
.reel__sound {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--color-rule); border-radius: 999px;
  background: var(--scrim);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--color-ink);
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
  white-space: nowrap; cursor: pointer;
}
.reel__sound:hover { border-color: var(--color-accent); color: var(--color-accent); }
.reel__cap { margin-top: 0.8rem; text-align: center; }

.strip { display: flex; gap: 6px; justify-content: center; margin-top: 0.8rem; }
.strip__i {
  width: 54px; padding: 0;
  border: 1px solid var(--color-rule-2);
  border-radius: var(--r-sm);
  overflow: hidden; background: none; cursor: pointer;
  opacity: 0.5;
  transition: opacity 180ms var(--ease), border-color 180ms var(--ease);
}
.strip__i img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.strip__i:hover { opacity: 0.85; }
.strip__i.is-on { opacity: 1; border-color: var(--color-accent); }

/* ==========================================================
   7. Ô video do app.js dựng (.vcard)
   ========================================================== */
.vgrid {
  display: grid; gap: 2px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--color-rule-2);
}
.vcard {
  position: relative; display: block; min-width: 0;
  padding: 0; border: 0;
  background: var(--color-paper-2);
  cursor: pointer; overflow: hidden;
}
.vcard img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 420ms var(--ease); }
.vcard:hover img { transform: scale(1.035); }
.vcard::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--scrim-2) 0%, transparent 46%);
  pointer-events: none;
}
.vcard__dur {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  padding: 0.15rem 0.45rem; border-radius: 4px;
  background: var(--scrim);
  font-size: 10px; color: var(--color-ink);
}
.vcard__play {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  opacity: 0; transition: opacity 200ms var(--ease);
}
.vcard__play > span {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 999px;
  background: var(--color-accent); color: var(--color-on-accent);
  padding-left: 3px;
}
.vcard:hover .vcard__play, .vcard:focus-visible .vcard__play { opacity: 1; }
.vcard__cap {
  position: absolute; left: 10px; right: 10px; bottom: 9px; z-index: 2;
  font-size: 0.76rem; line-height: 1.35;
  color: var(--color-ink); text-align: left;
}

/* ==========================================================
   8. Dải chữ — vấn đề, buổi học
   ========================================================== */
.probs {
  display: grid; gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(1.8rem, 3.5vw, 2.8rem);
  background: var(--color-rule-2);
}
.prob { padding: clamp(1.35rem, 2.4vw, 1.9rem); background: var(--color-paper); }
.prob__n {
  display: block;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-accent);
}
.prob h3 { margin: 0.65rem 0 0; font-family: var(--font-display); font-size: 1.14rem; font-weight: 700; color: var(--color-ink); }
.prob p  { margin-top: 0.55rem; font-size: 0.92rem; color: var(--color-muted); }

.ses__hd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem 0.9rem; }
.ses__n {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 3.4rem); line-height: 0.9;
  color: var(--color-accent); font-variant-numeric: tabular-nums;
}
.ses__date {
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--color-rule); border-radius: 999px;
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--color-muted); white-space: nowrap;
}
.ses__tag { margin-top: 0.75rem; font-size: var(--text-lede); color: var(--color-ink-2); max-width: 54ch; }
.ses__list { margin: 1.35rem 0 0; padding: 0; list-style: none; max-width: 62ch; }
.ses__list li {
  position: relative; padding-left: 1.35rem; margin-top: 0.72rem;
  font-size: 0.95rem; color: var(--color-ink-2);
}
.ses__list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 6px; height: 6px; border-radius: 1px;
  background: var(--color-accent);
}
.ses__list b { color: var(--color-ink); font-weight: 600; }

.out {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--r-md);
  background: var(--color-paper-2);
  max-width: 60ch;
}
.out__hd {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-accent);
}
.out__list { margin: 0.65rem 0 0; padding: 0; list-style: none; }
.out__list li {
  position: relative; padding-left: 1.35rem; margin-top: 0.4rem;
  font-size: 0.92rem; color: var(--color-ink);
}
.out__list li::before {
  content: "\2192";
  position: absolute; left: 0; top: 0;
  color: var(--color-accent);
  font-family: var(--font-mono); font-size: 0.85rem;
}

/* ==========================================================
   9. Giảng viên
   ========================================================== */
.gvs {
  display: grid; gap: clamp(1.6rem, 3vw, 2.6rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(1.8rem, 3.5vw, 2.8rem);
}
.gv__pic { border-radius: var(--r-md); overflow: hidden; background: var(--color-paper-2); }
.gv__pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gv__name { margin: 1.05rem 0 0; font-family: var(--font-display); font-size: 1.38rem; font-weight: 700; color: var(--color-ink); }
.gv__role { margin-top: 0.2rem; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.gv__list { margin: 0.95rem 0 0; padding: 0; list-style: none; }
.gv__list li {
  position: relative; padding-left: 1.35rem; margin-top: 0.55rem;
  font-size: 0.92rem; color: var(--color-ink-2);
}
.gv__list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 6px; height: 1.5px; background: var(--color-accent);
}
.gv__more {
  margin-top: 0.95rem; padding: 0.45rem 0.9rem;
  border: 1px solid var(--color-rule); border-radius: 999px;
  background: transparent; color: var(--color-ink-2);
  font-family: var(--font-body); font-size: 0.84rem;
  cursor: pointer; white-space: nowrap;
}
.gv__more:hover { border-color: var(--color-accent); color: var(--color-accent); }
.gv__fold { display: none; margin-top: 0.95rem; }
.gv__fold.is-open { display: block; }
.gv__fold h4 {
  margin: 0 0 0.35rem;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-muted);
}

/* ==========================================================
   10. Giá + form
   ========================================================== */
.buy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: clamp(1.6rem, 3vw, 3rem);
  margin-top: clamp(1.8rem, 3.5vw, 2.8rem);
  align-items: start;
}
.plans { display: grid; gap: 0.8rem; }
.plan {
  display: block; padding: 1.1rem 1.25rem;
  border: 1px solid var(--color-rule); border-radius: var(--r-md);
  background: var(--color-paper-2); cursor: pointer;
}
.plan.is-on { border-color: var(--color-accent); background: color-mix(in oklch, var(--color-accent) 8%, var(--color-paper-2)); }
.plan__n { display: block; font-weight: 600; color: var(--color-ink); }
.plan__a { display: block; margin-top: 0.3rem; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--color-accent); }

.field { margin-top: 1rem; }
.field > label { display: block; margin-bottom: 0.4rem; font-size: 0.86rem; font-weight: 600; color: var(--color-ink); }
.input {
  width: 100%; padding: 0.8rem 0.95rem;
  border: 1px solid var(--color-rule); border-radius: var(--r-sm);
  background: var(--color-paper-2); color: var(--color-ink);
  font-family: var(--font-body); font-size: 0.98rem;
  transition: border-color 160ms var(--ease);
}
.input::placeholder { color: var(--ph-ink); }
.input:focus { border-color: var(--color-accent); outline: none; }
.input:disabled { opacity: 0.45; }
select.input {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--color-muted) 50%),
    linear-gradient(135deg, var(--color-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}
textarea.input { resize: vertical; min-height: 68px; }
.err { margin-top: 0.3rem; font-size: 0.8rem; color: var(--color-bad); min-height: 1px; }

.check { display: flex; align-items: flex-start; gap: 0.6rem; margin-top: 1.1rem; font-size: 0.9rem; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--color-accent); }
.subfields { margin-top: 0.4rem; padding-left: 1rem; border-left: 1px solid var(--color-rule); }

.vch { display: flex; gap: 0.5rem; }
.vch .input { flex: 1 1 auto; min-width: 0; }
#voucherBox.is-off { opacity: 0.5; }
.vmsg { margin-top: 0.4rem; font-size: 0.84rem; min-height: 1px; }
.vmsg--ok  { color: var(--color-ok); }
.vmsg--bad { color: var(--color-bad); }

.total {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: 1.45rem; padding: 1.05rem 1.25rem;
  border: 1px solid var(--color-rule); border-radius: var(--r-md);
  background: var(--color-paper-2);
}
.total__v {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1;
  color: var(--color-accent); font-variant-numeric: tabular-nums;
}
.total__s { margin-top: 0.3rem; font-size: 0.8rem; color: var(--color-muted); }

.incl { padding: 1.25rem 1.35rem; border-radius: var(--r-md); background: var(--color-paper-2); }
.incl__row {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0.3rem 1rem; padding-block: 0.6rem; font-size: 0.9rem;
}
.incl__row + .incl__row { border-top: 1px solid var(--color-rule-2); }
.incl__row b { color: var(--color-ink); font-weight: 600; }

/* ==========================================================
   11. FAQ
   ========================================================== */
.faq { margin-top: clamp(1.5rem, 3vw, 2.2rem); }
.faq__i + .faq__i { border-top: 1px solid var(--color-rule-2); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; padding: 1.05rem 0;
  border: 0; background: none; color: var(--color-ink);
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  text-align: left; cursor: pointer;
}
.faq__q > span:last-child {
  flex: none; color: var(--color-accent);
  font-family: var(--font-mono); font-size: 1.1rem;
  transition: transform 220ms var(--ease);
}
.faq__i.is-open .faq__q > span:last-child { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms var(--ease); }
.faq__i.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 1.05rem; font-size: 0.94rem; color: var(--color-muted); max-width: 64ch; }

/* ==========================================================
   12. Thanh toán
   ========================================================== */
.pay__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 3vw, 3rem);
  margin-top: clamp(1.5rem, 3vw, 2.2rem);
  align-items: start;
}
.pay__code {
  display: inline-block; padding: 0.5rem 0.9rem;
  border-radius: var(--r-sm); background: var(--color-paper-3);
  font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.06em; color: var(--color-accent);
  overflow-wrap: anywhere;
}
.pay__amt {
  margin-top: 0.35rem;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1;
  color: var(--color-ink); font-variant-numeric: tabular-nums;
}
.pay__qr {
  display: grid; place-items: center;
  padding: 12px; border-radius: var(--r-md);
  background: var(--qr-paper); min-height: 240px;
}
.pay__qr img { width: 100%; max-width: 300px; height: auto; }
.pay__qr--empty { background: var(--color-paper-2); color: var(--color-muted); font-size: 0.88rem; text-align: center; padding: 1.4rem; }

.status { display: flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; color: var(--color-muted); }
.status__d { width: 8px; height: 8px; border-radius: 999px; background: var(--color-muted); flex: none; }
.status--wait .status__d { background: var(--color-warn); animation: blip 1.4s ease-in-out infinite; }
.status--ok   .status__d { background: var(--color-ok); }
.status--ok   { color: var(--color-ok); }
.status--bad  .status__d { background: var(--color-bad); }
.status--bad  { color: var(--color-bad); }
@keyframes blip { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.alert {
  padding: 1rem 1.15rem;
  border: 1px solid var(--color-warn); border-radius: var(--r-md);
  background: color-mix(in oklch, var(--color-warn) 10%, var(--color-paper));
  font-size: 0.9rem;
}

/* ==========================================================
   13. Sticky CTA (chỉ mobile)
   ========================================================== */
.sticky {
  position: fixed; inset: auto 0 0 0; z-index: 35;
  display: none; align-items: center; justify-content: space-between; gap: 0.8rem;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--color-rule);
  background: color-mix(in oklch, var(--color-paper) 94%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.sticky__amt { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--color-accent); font-variant-numeric: tabular-nums; }
.sticky__lab { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-muted); }

/* ==========================================================
   14. Ft1 · mast-headed
   ========================================================== */
.foot { padding-block: clamp(2.8rem, 6vw, 4.8rem) clamp(1.8rem, 4vw, 2.8rem); }
.foot__mark {
  margin: 0;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.55rem, 3.4vw, 2.5rem);
  letter-spacing: -0.02em; color: var(--color-ink);
}
.foot__tag { margin-top: 0.5rem; font-size: var(--text-lede); color: var(--color-ink-2); max-width: 46ch; }
.foot__row {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0.6rem 1.5rem;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  padding-top: 1.15rem;
  border-top: 1px solid var(--color-rule-2);
  font-size: 0.85rem; color: var(--color-muted);
}
.foot__row a { color: var(--color-accent); text-decoration: none; white-space: nowrap; }

/* ==========================================================
   15. Overlay
   ========================================================== */
.ov { position: fixed; inset: 0; z-index: 60; display: none; place-items: center; padding: var(--gutter); }
.ov.is-open { display: grid; }
.ov__bd { position: absolute; inset: 0; background: var(--scrim-2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ov__b {
  position: relative; width: min(100%, 420px);
  padding: 1.55rem;
  border: 1px solid var(--color-rule); border-radius: var(--r-lg);
  background: var(--color-paper-2);
}
.ov__b--v { padding: 0.7rem; }
.ov__b--v video { width: 100%; max-height: 74vh; border-radius: var(--r-md); background: var(--color-paper); }
.ov__cap { margin-top: 0.6rem; padding-inline: 0.4rem; font-size: 0.85rem; color: var(--color-muted); }
.ov__x {
  position: absolute; top: -14px; right: -6px;
  width: 34px; height: 34px;
  border: 1px solid var(--color-rule); border-radius: 999px;
  background: var(--color-paper-3); color: var(--color-ink);
  cursor: pointer; z-index: 2;
}

.demobar {
  padding: 0.7rem var(--gutter);
  background: color-mix(in oklch, var(--color-warn) 16%, var(--color-paper));
  border-bottom: 1px solid var(--color-rule);
  font-size: 0.84rem; color: var(--color-ink);
}
.demobar b { margin-right: 0.5rem; }
.demobar code { font-family: var(--font-mono); font-size: 0.9em; color: var(--color-accent); }

/* ==========================================================
   16. Chuyển động — chỉ fade, không trượt ngang, không nảy
   ========================================================== */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 620ms var(--ease), transform 620ms var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .rv { opacity: 1; transform: none; }
}

/* ==========================================================
   17. Đáp ứng — soát ở 320 / 375 / 414 / 768
   ========================================================== */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .reel__stage { height: auto; width: min(100%, 340px); }
  .buy { grid-template-columns: minmax(0, 1fr); }
  .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .pill__links { display: none; }
  .burger { display: block; }
  .probs { grid-template-columns: minmax(0, 1fr); }
  .gvs { grid-template-columns: minmax(0, 1fr); }
  .pay__grid { grid-template-columns: minmax(0, 1fr); }
  .bleed { --cols: 2; }
  .sticky { display: flex; }
  body { padding-bottom: 74px; }
}
@media (max-width: 560px) {
  .bleed--wide { --cols: 1; }
  .display { max-width: none; letter-spacing: -0.02em; }
  .h2 { max-width: none; }
  .hero__cta .btn { width: 100%; }
  .cd__u { min-width: 0; flex: 1; }
  .total { flex-direction: column; align-items: flex-start; }
  .ov__x { top: 6px; right: 6px; }
}
@media (max-width: 400px) {
  .vgrid { grid-template-columns: minmax(0, 1fr); }
  .pill { gap: 0.5rem; padding-left: 0.85rem; }
  .pill__mark { font-size: 0.74rem; }
  .pill__cta { padding: 0.5rem 0.85rem; font-size: 0.8rem; }
}
