@import url("tokens.css?v=20260902l");
@import url("base.css?v=20260902l");
@import url("scene.css?v=20260902l");
@import url("shot.css?v=20260902l");
@import url("sheets.css?v=20260913d");
@import url("chat.css?v=20260902l");
@import url("content.css?v=20260902l");

.wrap {
  max-width: var(--at-wrap);
  margin: 0 auto;
  padding: 0 var(--at-space);
  width: 100%;
  box-sizing: border-box;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 80;
  background: var(--at-ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--at-radius-pill);
}
.skip:focus { left: 12px; }

/* ——— Header (đồng bộ VPS: kính mờ + viền dưới bọc logo/menu/CTA) ——— */
.top {
  background: rgba(250, 250, 250, 0.86);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--at-line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.top .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.top-end {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
#site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
#site-nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--at-muted);
  padding: 8px 10px;
  border-radius: var(--at-radius-pill);
  letter-spacing: -0.01em;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  transition: color var(--at-ease), background var(--at-ease);
}
.chip-row a.chip,
.brand,
footer.site a {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
#site-nav a:hover { color: var(--at-ink); background: var(--at-bg-2); }
#site-nav a.on {
  color: var(--at-ink);
  font-weight: 600;
  background: var(--at-surface);
  box-shadow: inset 0 0 0 1px var(--at-line);
}
.top-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: var(--at-radius-pill);
  border: 0;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(10, 10, 10, 0.16);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.top-cta:hover {
  background: #1f2937;
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 10px 24px rgba(10, 10, 10, 0.2);
}
.top-cta-arrow {
  display: inline-block;
  line-height: 1;
  transition: transform 0.3s ease;
}
.top-cta:hover .top-cta-arrow { transform: translateX(2px); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--at-line);
  background: var(--at-surface);
  border-radius: var(--at-radius-pill);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 14px;
  height: 1.5px;
  background: var(--at-ink);
  border-radius: 2px;
  transition: transform var(--at-ease), opacity var(--at-ease);
}
body.nav-open .nav-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
body.nav-open .nav-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.nav-sheet {
  display: none;
  position: fixed;
  inset: 64px 0 0;
  background: var(--at-bg);
  z-index: 39;
  padding: 12px var(--at-space) 40px;
  overflow: auto;
}
body.nav-open { overflow: hidden; }
body.nav-open .nav-sheet { display: flex; flex-direction: column; gap: 4px; }
.nav-sheet a {
  display: block;
  text-decoration: none;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
  padding: 12px 4px;
  border-bottom: 1px solid var(--at-line);
  color: var(--at-ink);
}
.nav-sheet a.on { color: var(--at-ink); }
.nav-sheet a.muted-link {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--at-muted);
  padding: 10px 4px;
}
.nav-sheet a.muted-link.on { color: var(--at-ink); font-weight: 600; }
.nav-sheet a:not(.muted-link) + a.muted-link { margin-top: 18px; }
.nav-sheet .sheet-cta { margin-top: 20px; align-self: flex-start; }

.btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }

/* ——— Hero (Vòng 1–3: khung 50-50 → chữ → ảnh) ——— */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  align-items: center;
  padding: 32px 0 36px;
  margin: 0 auto;
  min-height: 0;
  width: 100%;
  box-sizing: border-box;
}
.hero-col {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-col-copy {
  padding: 0;
  max-width: none;
}
.hero-col-visual {
  padding: 0;
  align-items: center;
}
.hero h1,
.hero .hero-slogan {
  font-size: clamp(40px, 5.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 0 0 14px;
  max-width: none;
}
.hero .lede {
  max-width: 36rem;
  color: var(--at-muted);
  font-size: 15.5px;
  line-height: 1.62;
  margin: 0;
  letter-spacing: -0.015em;
}
@media (max-width: 700px) {
  .footer-bottom { align-items: flex-start; }
}

.panel {
  background: var(--at-surface);
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius-panel);
  padding: 22px 22px 18px;
  box-shadow: var(--at-shadow-hover);
}
.panel h3 {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--at-muted);
}
.panel-foot {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--at-line);
  font-size: 13px;
  font-weight: 600;
}
.panel-foot a { text-decoration: none; }
.panel-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

.rail { display: grid; gap: 6px; }
.rail-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid var(--at-line);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.rail-row span:nth-child(2) { overflow-wrap: anywhere; }
.rail-row span:last-child {
  font-size: 12px;
  color: var(--at-muted);
  font-weight: 500;
}
.rail-row.on {
  background: var(--at-mark);
  border-color: transparent;
}
.rail-row.on span:last-child { color: var(--at-ink); }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--at-ink);
}
.rail-row:not(.on) .dot { background: var(--at-line-2); }

/* ——— Page ——— */
section.wrap { padding: 72px 0; }
.hero + section.wrap { padding-top: 36px; }

/* Trang chủ: siết khoảng trắng giữa các khối */
body[data-page="home"] section.wrap { padding: 36px 0; }
body[data-page="home"] .marquee + section.wrap { padding-top: 28px; }
body[data-page="home"] #explore { padding-top: 32px; padding-bottom: 48px; }
body[data-page="home"] .ink { margin: 8px 0; }
.page-hero { padding: 28px 0 8px; }
.page-hero h1 {
  font-size: var(--at-fs-display);
  letter-spacing: -0.05em;
  font-weight: 600;
  margin: 0 0 14px;
  line-height: 1.06;
}
.page-hero.dest-hero .dest-hero-ui h1 {
  font-size: clamp(32px, 6vw, 56px);
  letter-spacing: 0.12em;
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
}
.page-hero ~ section.wrap {
  padding-top: 28px;
  padding-bottom: 28px;
}
.page-hero ~ section.wrap:has(.band),
.page-hero ~ section.wrap:last-of-type {
  padding-bottom: 80px;
}

section h2 {
  font-size: var(--at-fs-h2);
  letter-spacing: -0.045em;
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.12;
}
.note {
  font-size: 16px;
  color: var(--at-muted);
  max-width: 42rem;
  margin: 0;
  letter-spacing: -0.015em;
}
.purpose-grid {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
@media (min-width: 720px) {
  .purpose-grid { grid-template-columns: 1fr 1fr; }
}
.purpose {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  min-height: 84px;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid var(--at-line);
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}
.purpose strong {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.purpose span {
  font-size: 14px;
  color: var(--at-muted);
  letter-spacing: -0.01em;
}
.purpose:hover,
.purpose:focus-visible {
  background: var(--at-ink);
  color: #fff;
  border-color: var(--at-ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.1);
}
.purpose:hover span,
.purpose:focus-visible span { color: rgba(255, 255, 255, 0.72); }
.code-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.code-row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--at-radius-pill);
  border: 1px solid var(--at-line);
  background: #fff;
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.code-row a:hover {
  background: var(--at-ink);
  color: #fff;
  border-color: var(--at-ink);
}
.footer-codes {
  margin-top: 10px !important;
  font-size: 13px;
  color: var(--at-muted);
}

.grid-4, .grid-3, .grid-2 {
  display: grid;
  gap: 14px;
}
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
section h2 + .grid-4,
section h2 + .grid-3,
section h2 + .grid-2,
section .note + .grid-4,
section .note + .grid-3,
section .note + .grid-2 { margin-top: 28px; }
.grid-4 + .grid-3,
.grid-2 + .grid-2 { margin-top: 14px; }

a.card,
.card:has(a.more),
.card:has(a.btn) {
  transition: transform var(--at-ease), box-shadow var(--at-ease), border-color var(--at-ease);
}
a.card:hover,
.card:has(a.more):hover,
.card:has(a.btn):hover {
  transform: translateY(-4px);
  border-color: var(--at-ink);
  box-shadow: var(--at-shadow-hover);
}

.ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--at-mark-soft);
  border: 0;
  display: grid;
  place-items: center;
}
.ico svg { width: 20px; height: 20px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 24px;
  padding-top: 8px;
  border-top: 1px solid var(--at-line);
}
.stat-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 20px 0;
}
.stat-card b {
  display: block;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.055em;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1;
}
.stat-card span { color: var(--at-muted); font-size: 13px; }

.steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}
.steps > div {
  background: var(--at-surface);
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius-in);
  padding: 20px 16px 18px;
  min-height: 140px;
}
.steps b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 99px;
  background: var(--at-bg-2);
  font-size: 14px;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
  font-weight: 600;
}
.steps > div:first-child b { background: var(--at-mark); }
.steps span { color: var(--at-muted); font-size: 13px; display: block; line-height: 1.45; }

.faq { display: grid; gap: 8px; }
.faq details {
  background: var(--at-surface);
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius-in);
  padding: 0;
}
.faq details[open] { border-color: var(--at-ink); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  letter-spacing: -0.025em;
  list-style: none;
  padding: 16px 48px 16px 18px;
  position: relative;
  font-size: 15px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--at-ink);
  border-bottom: 1.5px solid var(--at-ink);
  transform: rotate(45deg);
  transition: transform var(--at-ease);
}
.faq details[open] summary::after { transform: rotate(225deg); top: 26px; }
.faq details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--at-muted);
  font-size: var(--at-fs-sm);
  max-width: 46rem;
}

.band {
  background: var(--at-ink);
  color: #fff;
  border-radius: 32px;
  padding: 40px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.band h2 { color: #fff; margin: 0 0 8px; font-size: clamp(24px, 3vw, 32px); }
.band p { margin: 0; color: #a3a3a3; max-width: 42ch; }
.band-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.band .btn.primary {
  background: var(--at-mark);
  color: var(--at-ink);
  border-color: var(--at-mark);
}
.band .btn.primary:hover { background: var(--at-mark-2); }
.band .btn.band-fb {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.band .btn.band-fb:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

.tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--at-muted);
}

.demo-flag {
  background: var(--at-surface);
  color: var(--at-ink);
  padding: 14px 16px 14px 18px;
  border-radius: var(--at-radius-in);
  font-size: 14px;
  font-weight: 500;
  max-width: 46rem;
  margin: 12px 0 0;
  border: 1px solid var(--at-line);
  border-left: 3px solid var(--at-mark);
  line-height: 1.5;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--at-line);
}
.price-row strong { font-size: 22px; letter-spacing: -0.045em; font-weight: 600; }
.price-row em { font-style: normal; color: var(--at-muted); font-size: 12px; }

.prose p { color: var(--at-muted); max-width: 46rem; margin: 0 0 12px; }
.prose ul, .prose ol { color: var(--at-muted); padding-left: 1.15rem; margin: 0 0 8px; }
.prose li { margin: 7px 0; }
.prose h3 { margin: 22px 0 8px; letter-spacing: -0.03em; }
.prose .card p { max-width: none; }

.lookup {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin: 28px 0 12px;
}
.lookup input[type="text"] { width: min(420px, 100%); min-height: 48px; padding: 12px 18px; }

.pipe {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  background: var(--at-surface);
  border: 1px solid var(--at-line);
  border-radius: 24px;
  padding: 12px 14px;
}
.pipe b {
  background: var(--at-surface);
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius-pill);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.pipe i { color: var(--at-faint); font-style: normal; font-size: 13px; }

.codes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.codes button {
  font-family: var(--at-font);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--at-line);
  background: var(--at-surface);
  border-radius: var(--at-radius-pill);
  padding: 8px 14px;
  cursor: pointer;
  min-height: 40px;
  transition: border-color var(--at-ease), background var(--at-ease);
}
.codes button:hover { border-color: var(--at-ink); }

.grid-2 > div > .card { margin-top: 20px; }
.card p + p { margin-top: 10px; }
.card .btn { margin-top: 16px; }
.card > h3:first-child,
.card > .sec-kicker:first-child { margin-top: 0; }
#out .panel { margin-top: 12px; }

footer.site {
  border-top: 1px solid var(--at-line);
  padding: 64px 0 28px;
  font-size: 13px;
  color: var(--at-muted);
  background: #fafafa;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.95fr 1.05fr 0.95fr 1.05fr;
  gap: 36px 28px;
  align-items: start;
}
.footer-grid p { margin: 0 0 9px; line-height: 1.5; }
.footer-grid a,
.footer-btn {
  color: var(--at-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-btn {
  all: unset;
  cursor: pointer;
  font: inherit;
  color: var(--at-muted);
}
.footer-grid a:hover,
.footer-btn:hover { color: var(--at-ink); }
.footer-grid strong {
  display: block;
  color: var(--at-ink);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-co {
  color: var(--at-ink);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
}
.footer-tag {
  margin-top: 10px !important;
  color: var(--at-ink-soft, #525252);
  font-weight: 500;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--at-line);
  box-shadow: 0 6px 18px rgba(10, 10, 10, 0.05);
}
.footer-badge img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.footer-badge b {
  font-size: 12px;
  font-weight: 700;
  color: var(--at-ink);
  letter-spacing: -0.02em;
}
.footer-badge i {
  font-style: normal;
  font-size: 11px;
  color: var(--at-muted);
  font-weight: 500;
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--at-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 12px;
  color: var(--at-faint, #a3a3a3);
  line-height: 1.4;
}
.footer-copy-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-legal-links {
  font-size: 12px;
  color: var(--at-faint, #a3a3a3);
  white-space: nowrap;
}
.footer-legal-links a {
  color: inherit;
  text-decoration: none;
}
.footer-legal-links a:hover { color: var(--at-ink); }
.footer-legal {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--at-line);
  font-size: 12px;
  color: var(--at-faint);
}

#dat-lich, #ve-may-bay, #explore, #quiz {
  scroll-margin-top: 80px;
}

.legal-note {
  background: var(--at-surface);
  border: 1px solid var(--at-line);
  border-left: 3px solid var(--at-ink);
  border-radius: var(--at-radius-in);
  padding: 16px 18px;
  font-size: 13px;
  color: var(--at-muted);
  max-width: 46rem;
  margin: 20px 0 0;
  line-height: 1.55;
}
.legal-note strong { color: var(--at-ink); }
.card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--at-muted);
  font-size: 14px;
}
.card li { margin: 6px 0; }

.split-clock {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--at-muted);
  margin: 8px 0 16px;
}
.split-clock b { color: var(--at-ink); font-weight: 600; }

.quiz-box h3 { margin: 0 0 8px; letter-spacing: -0.03em; font-size: 20px; }
.book-steps, .quiz-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.book-steps span, .quiz-steps span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 8px 12px;
  border-radius: var(--at-radius-pill);
  background: var(--at-bg);
  color: var(--at-muted);
  border: 1px solid var(--at-line);
}
.book-steps span.on, .quiz-steps span.on {
  background: var(--at-ink);
  color: #fff;
  border-color: var(--at-ink);
}
.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choice {
  appearance: none;
  font-family: var(--at-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 10px 14px;
  min-height: 44px;
  border-radius: var(--at-radius-pill);
  border: 1px solid var(--at-line);
  background: var(--at-bg);
  color: var(--at-ink);
  cursor: pointer;
}
.choice:hover, .choice.on {
  border-color: var(--at-ink);
  background: var(--at-ink);
  color: #fff;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.span-2 { grid-column: span 2; }
.field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--at-muted);
}
.field input, .field select, .field textarea {
  width: 100%;
  border-radius: var(--at-radius-sm);
  min-height: 44px;
}
.field textarea { min-height: 88px; resize: vertical; border-radius: 12px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.form-err { color: var(--at-danger); font-size: 13px; font-weight: 600; margin: 8px 0 0; }
#book-copy { white-space: pre-wrap; }
.visa-nudge {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--at-mark-soft);
  font-size: 14px;
}
.visa-nudge p { margin: 0 0 8px; }
.visa-nudge a { font-weight: 600; }

.dock {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 45;
  background: var(--at-ink);
  color: #fff;
  border-radius: 18px;
  padding: 10px 12px;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 32px rgba(10, 10, 10, 0.28);
}
.dock.show { display: flex; }
.dock span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dock .btn.primary {
  background: var(--at-mark);
  color: var(--at-ink);
  border-color: var(--at-mark);
  min-height: 40px;
}
body.dock-pad { padding-bottom: 84px; }

@media (min-width: 801px) {
  .dock { display: none !important; }
  body.dock-pad { padding-bottom: 0; }
}

@media (max-width: 1080px) {
  #site-nav { display: none; }
  .nav-toggle { display: flex; }
  .top .wrap { min-height: 72px; gap: 12px; }
  .nav-sheet { inset: 72px 0 0; }
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 28px 0 28px;
  }
  .hero-col-copy { max-width: none; }
  .grid-4, .grid-3, .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .hero h1,
  .hero .hero-slogan { font-size: clamp(34px, 10vw, 44px); }
  .grid-4, .grid-3, .grid-2, .steps, .stats, .footer-grid { grid-template-columns: 1fr; }
  .band { padding: 28px 22px; border-radius: 24px; }
  section.wrap { padding: 52px 0; }
  .page-hero { padding-top: 20px; }
  .field-grid { grid-template-columns: 1fr; }
  .field.span-2 { grid-column: span 1; }
}

@media (max-width: 640px) {
  .top-end #site-cta,
  .top-end .top-cta { display: none; }
}

.fee-table td, .fee-table th { text-align: right; }
.fee-table td:first-child, .fee-table th:first-child { text-align: left; }
.intent-docs h3 { margin-top: 22px; }

.page-split {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 340px);
  gap: 28px 32px;
  align-items: start;
  padding-top: 16px;
  padding-bottom: 48px;
}
section.wrap.page-split {
  padding-top: 16px;
  padding-bottom: 48px;
}
.page-main {
  min-width: 0;
  display: grid;
  gap: 8px;
  align-content: start;
}
.page-main .page-hero,
.page-main .page-hero-in {
  padding: 4px 0 8px;
  max-width: none;
  width: 100%;
}
.page-main .page-hero h1,
.page-main .page-hero-in h1 {
  font-size: clamp(32px, 4.2vw, 48px);
  margin-bottom: 10px;
}
.page-main .grid-2 {
  margin-top: 12px;
  margin-bottom: 4px;
}
.page-main .sec-kicker {
  margin: 18px 0 10px;
}
.page-rail {
  position: sticky;
  top: 92px;
  width: 100%;
  min-width: 0;
}
.rail-stack { display: grid; gap: 10px; }
.rail-visual {
  min-height: 0;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  background: var(--at-bg-2) center / cover no-repeat;
  box-shadow: 0 16px 36px rgba(10, 10, 10, 0.12);
  position: relative;
  overflow: hidden;
  transition: background-image 0.6s ease;
}
.rail-visual span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.rail-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.rail-mosaic-cell {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background: var(--at-bg-2) center / cover no-repeat;
  box-shadow: 0 8px 18px rgba(10, 10, 10, 0.1);
  transition: background-image 0.6s ease;
}
.rail-card {
  background: var(--at-surface);
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius-card);
  padding: 20px 20px 18px;
  box-shadow: var(--at-shadow);
}
.rail-card h3 { margin: 8px 0 10px; font-size: 20px; }
.rail-card .btn { width: 100%; margin-top: 10px; justify-content: center; min-height: 48px; }
.rail-card .btn.ghost { margin-top: 8px; }
.rail-card .note { margin-top: 14px; }
.rail-card a { color: var(--at-ink); }
.rail-points {
  margin: 0 0 4px;
  padding: 0 0 0 1.1rem;
  color: var(--at-muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.rail-points li { margin: 6px 0; }
.rail-mini {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--at-line);
}
.rail-mini a {
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}
.rail-mini a:hover { text-decoration: underline; text-underline-offset: 3px; }

body[data-page="gt"] .page-split {
  padding-top: 12px;
}

.assess-pop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 10, 10, 0.36);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}
.assess-pop.on { opacity: 1; pointer-events: auto; }
.assess-card {
  width: min(860px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: var(--at-surface);
  border-radius: var(--at-radius-panel);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  box-shadow: var(--at-shadow-hover);
}
.assess-art {
  position: relative;
  min-height: 280px;
  background: var(--at-bg-2);
}
.assess-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.assess-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--at-ink);
  font-size: 22px;
  cursor: pointer;
}
.assess-body { padding: 28px 28px 24px; }
.assess-body h3 { margin: 8px 0 16px; font-size: 22px; }
.assess-nav { display: flex; justify-content: space-between; margin-top: 18px; }

@media (max-width: 900px) {
  .page-split {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-rail { position: static; }
  .page-main .page-hero h1,
  .page-main .page-hero-in h1 {
    font-size: clamp(28px, 7vw, 40px);
  }
  .assess-card { grid-template-columns: 1fr; }
  .assess-art { min-height: 140px; max-height: 160px; }
}
@media (max-width: 640px) {
  .assess-pop {
    align-items: flex-end;
    padding: 0;
    background: rgba(10, 10, 10, 0.42);
  }
  .assess-card {
    width: 100%;
    max-height: min(96dvh, 100%);
    border-radius: 24px 24px 0 0;
    overflow: auto;
  }
  .assess-art {
    min-height: 96px;
    max-height: 110px;
  }
  .assess-x {
    width: 44px;
    height: 44px;
    top: 10px;
    right: 10px;
  }
  .assess-body {
    padding: 16px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  }
  .assess-body h3 {
    font-size: 18px;
    line-height: 1.3;
    margin: 6px 0 14px;
  }
  .assess-body .qa-card {
    min-height: 56px;
    padding: 15px 16px;
    font-size: 15px;
  }
  .assess-body .btn {
    min-height: 52px;
    width: 100%;
    justify-content: center;
  }
  .assess-nav {
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
  }
  .khung-cta,
  .machine-cta {
    flex-direction: column;
  }
  .khung-cta .btn,
  .machine-cta .btn {
    width: 100%;
    min-height: 52px;
    justify-content: center;
  }
  .purpose {
    min-height: 76px;
    padding: 16px 16px;
    border-radius: 16px;
  }
  .purpose strong { font-size: 16px; }
  .purpose span { font-size: 13px; line-height: 1.45; }
  .dest-hero-copy { padding: 16px 0 8px; }
  .dest-ask { font-size: 22px; }
  .dest-hero-copy .btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .dest-hero-copy .btns .btn {
    width: 100%;
    min-height: 52px;
    justify-content: center;
  }
  .rail-card {
    padding: 18px 16px 16px;
  }
  .rail-card h3 { font-size: 18px; }
}

/* Trang nước / khung — chữ mực rõ, không xám như .prose */
.khung-page,
.khung-page p,
.khung-page li,
.khung-page td,
.khung-page .machine-steps,
.khung-page .machine-step,
.khung-page .machine-dl,
.khung-page .machine-dl dd,
.khung-page .machine-step h3,
.prose .machine-steps,
.prose .machine-step,
.prose .machine-dl,
.prose .machine-dl dd,
.prose .machine-step h3 {
  color: var(--at-ink);
}
.khung-page .note,
.khung-page .demo-flag {
  color: var(--at-muted);
}
.khung-page h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  letter-spacing: -0.035em;
  font-size: clamp(22px, 2.6vw, 28px);
}
.khung-shell { margin-top: 8px; }
.khung-lead {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--at-muted);
  line-height: 1.55;
  max-width: 46rem;
}
.khung-page .khung-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 20px;
  position: sticky;
  top: 72px;
  z-index: 5;
  padding: 8px 0;
  background: linear-gradient(180deg, #fff 70%, rgba(255, 255, 255, 0));
}
.khung-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--at-line);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--at-ink);
}
.khung-toc a:hover { border-color: var(--at-ink); }
.khung-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
}
.khung-path {
  appearance: none;
  border: 1px solid var(--at-line);
  background: #fff;
  color: var(--at-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  padding: 8px 14px;
  min-height: 38px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.khung-path.on,
.khung-path:hover {
  background: var(--at-ink);
  color: #fff;
  border-color: var(--at-ink);
}
.khung-more {
  margin: 14px 0;
  border: 1px solid var(--at-line);
  border-radius: 18px;
  background: #fff;
  padding: 0 16px;
}
.khung-more > summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  padding: 16px 4px;
}
.khung-more > summary::-webkit-details-marker { display: none; }
.khung-more[open] > summary {
  border-bottom: 1px solid var(--at-line);
  margin-bottom: 14px;
}
.khung-panel { margin: 8px 0 20px; }
.khung-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.khung-docs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 16px;
}
@media (max-width: 720px) {
  .khung-docs { grid-template-columns: 1fr; }
  .khung-page .khung-toc { top: 64px; }
}
.machine-steps {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.machine-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--at-line);
}
.machine-step:last-child { border-bottom: 0; }
.machine-step h3 {
  margin: 0 0 12px;
  font-size: 17px;
  letter-spacing: -0.03em;
  color: var(--at-ink);
}
.machine-n {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--at-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.machine-dl {
  margin: 0;
  display: grid;
  gap: 10px;
}
.machine-dl div {
  margin: 0;
  border-radius: var(--at-radius-sm);
  padding: 14px 16px;
  border: 1px solid var(--at-line);
  background: var(--at-surface);
}
.machine-dl .you { background: #fff; border-color: var(--at-line); }
.machine-dl .we { background: var(--at-mark-soft); border-color: transparent; }
.machine-dl .wait { background: #f0f0f1; border-color: var(--at-line-2); }
.machine-dl dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--at-ink-soft);
  opacity: 0.72;
}
.machine-dl dd {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--at-ink);
  font-weight: 500;
}
@media (min-width: 800px) {
  .machine-dl { grid-template-columns: 1fr 1fr 1fr; }
}
.machine-assess { margin-top: 28px; padding: 24px; }
.machine-assess h2 { margin-top: 0; }
.assess-q { margin: 14px 0 18px; }
.assess-q p { margin: 0 0 8px; font-weight: 600; }
.tick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 14px 8px 0;
  font-size: 14px;
}
.machine-verdict {
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: var(--at-radius-sm);
  background: var(--at-bg-2);
  border: 1px solid var(--at-line);
}
.machine-verdict.nhan { background: var(--at-mark-soft); border-color: transparent; }
.machine-verdict.thieu,
.machine-verdict.chuyen-dien,
.machine-verdict.khong-nhan { background: var(--at-danger-soft); border-color: transparent; }
.machine-cta { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.machine-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
}
.machine-tabs button,
.filters-ops button {
  appearance: none;
  border: 1px solid var(--at-line);
  background: var(--at-surface);
  color: var(--at-ink);
  font-family: var(--at-font);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  min-height: 40px;
  border-radius: var(--at-radius-pill);
  cursor: pointer;
}
.machine-tabs button.on,
.filters-ops button.on {
  background: var(--at-ink);
  color: #fff;
  border-color: var(--at-ink);
}

.dest-next {
  margin: 8px 0 16px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--at-ink);
  max-width: 44ch;
}
.khung-more {
  margin: 20px 0 28px;
  background: #fff;
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius-card);
  padding: 12px 18px 8px;
}
.khung-more summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  padding: 8px 0 12px;
}
.khung-guide {
  background: #fff;
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius-card);
  padding: 18px 20px 16px;
  margin: 0 0 20px;
}
.khung-guide-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--at-muted);
}
.khung-guide ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}
.khung-guide li { font-size: 15px; }
.khung-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  position: sticky;
  top: 64px;
  z-index: 12;
  padding: 10px 0;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.khung-toc a,
.khung-path {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--at-radius-pill);
  border: 1px solid var(--at-line);
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.khung-path.on,
.khung-toc a:hover,
.khung-path:hover {
  background: var(--at-ink);
  color: #fff;
  border-color: var(--at-ink);
}
.khung-paths { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.khung-docs,
.khung-related {
  display: grid;
  gap: 14px;
  margin: 16px 0 28px;
}
@media (min-width: 800px) {
  .khung-docs { grid-template-columns: 1fr 1fr; }
}
.khung-docs .card h3,
.khung-related .card h3 { margin-top: 0; }
.khung-related .machine-steps { margin-top: 8px; }
.khung-who { margin: 16px 0 28px; }

@media (prefers-reduced-motion: reduce) {
  .card:has(a.more):hover,
  .card:has(a.btn):hover,
  a.card:hover { transform: none; }
  .btn:active { transform: none; }
  .dest-reel-track { animation: none !important; }
}
