:root {
  --ground: #FBF7EE;
  --ink: #000;
  --paper: #fff;
  --accent: #F2B72B;
  --muted: #6B6B6B;
  --muted-2: #5A5A5A;
  --text: #2A2A2A;
  --chip-bg: #F1EBDC;
  --font: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
}
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
[hidden] { display: none !important; }
code {
  background: var(--chip-bg);
  border: 1.5px solid var(--ink);
  padding: 1px 6px;
  font-size: 13px;
  font-weight: 700;
}

.page { max-width: 1160px; margin: 0 auto; padding: 18px 18px 56px; }
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  padding: 4px 10px;
  margin-bottom: 12px;
}
.muted { color: var(--muted); font-weight: 600; }

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  margin-bottom: 36px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.avatar {
  width: 38px;
  height: 38px;
  flex: none;
  background: var(--accent);
  border: 2.5px solid var(--ink);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
}
.brand-text { line-height: 1.1; }
.brand-text b { display: block; font-size: 16px; font-weight: 900; letter-spacing: -.01em; }
.brand-text small { font-size: 12px; font-weight: 700; color: var(--muted); }

.nav-links { display: flex; gap: 18px; }
.nav-links a {
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border: 2.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn.primary { background: var(--accent); }
.btn.lg { padding: 13px 22px; font-size: 15px; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.ico { width: 18px; height: 18px; flex: none; }
.ico-sm { width: 15px; height: 15px; flex: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 400px);
  gap: 36px;
  align-items: center;
  margin-bottom: 64px;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.03;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
}
.lead {
  margin: 0 0 24px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  max-width: 56ch;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

.phone {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 3.4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
}
.tg-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 3px solid var(--ink);
  background: var(--paper);
}
.tg-title { min-width: 0; line-height: 1.15; }
.tg-title b { display: block; font-weight: 900; text-transform: uppercase; font-size: 14px; }
.tg-title small { color: var(--muted); font-weight: 600; font-size: 12px; }
.sp { flex: 1; }
.tabs { display: flex; flex: none; }
.tab {
  height: 30px;
  padding: 0 10px;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.tab + .tab { border-left: 0; }
.tab.on { background: var(--ink); color: #fff; }

.chat {
  padding: 14px 12px;
  background: var(--ground);
  min-height: 365px;
  display: flex;
  flex-direction: column;
}
.screen { display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 92%; display: flex; flex-direction: column; gap: 5px; }
.msg.me { align-self: flex-end; }
.msg.bot { align-self: flex-start; width: 92%; }
.bubble {
  background: var(--paper);
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.bubble b { color: var(--ink); font-weight: 800; }
.msg.me .bubble { background: var(--accent); color: var(--ink); }
.bubble .via { display: block; font-size: 11px; font-weight: 800; color: var(--muted-2); margin-bottom: 3px; }
.bubble.photo { padding: 0; overflow: hidden; }
.bubble.photo .cap { padding: 8px 11px 10px; border-top: 2.5px solid var(--ink); }
.poster {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1E3A5F 0%, #2D6A4F 60%, #F2B72B 100%);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  text-transform: uppercase;
  line-height: 1.15;
}
.poster small { font-size: 11px; font-weight: 700; opacity: .9; letter-spacing: .04em; }

.kb { display: flex; flex-direction: column; gap: 5px; }
.kb-row { display: flex; gap: 5px; }
.kb-row span {
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 6px;
  border: 2.2px solid var(--ink);
  background: var(--paper);
  box-shadow: 2.5px 2.5px 0 var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kb-row span.cur { background: var(--accent); }

.dock { border-top: 3px solid var(--ink); background: var(--paper); }
.composer { display: flex; gap: 6px; align-items: center; padding: 8px 10px; }
.menu-chip {
  padding: 6px 10px;
  border: 2px solid var(--ink);
  background: var(--accent);
  font-size: 12px;
  font-weight: 800;
}
.input-chip {
  flex: 1;
  padding: 6px 10px;
  border: 2px solid var(--ink);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.send-chip {
  width: 34px;
  text-align: center;
  padding: 5px 0;
  border: 2px solid var(--ink);
  font-weight: 900;
}
.reply-kb {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 0 10px 10px;
}
.reply-kb span {
  padding: 7px 4px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.section { margin-bottom: 60px; }
.section-head { margin-bottom: 20px; }
.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.section-head p { margin: 4px 0 0; }

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.card {
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  padding: 18px;
}
.card-ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--accent);
  border: 2.5px solid var(--ink);
  margin-bottom: 12px;
}
.card-ico svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 900; }
.card p { margin: 0; font-size: 14px; color: var(--text); font-weight: 500; }

.step-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  background: var(--accent);
  border: 2px solid var(--ink);
  padding: 2px 8px;
  margin-bottom: 10px;
}

.cmd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cmd-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  text-align: left;
  transition: transform .08s ease, box-shadow .08s ease;
}
.cmd-card span { font-size: 13px; font-weight: 600; color: var(--text); }
.cmd-card:hover { background: #FFF8E1; transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.cmd-card:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--accent);
  border: 2px solid var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}
.faq-item[open] summary { border-bottom: 2.5px solid var(--ink); background: #FFF9E4; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  margin: 0;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  background: var(--paper);
  border: 3.4px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
  margin-bottom: 36px;
}
.cta-banner h2 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 28px); font-weight: 900; text-transform: uppercase; }
.cta-banner p { margin: 0; color: var(--text); font-weight: 500; }

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 3px solid var(--ink);
  font-size: 13px;
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 4px 4px 0 var(--accent);
  z-index: 20;
}

@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .phone { max-width: 420px; width: 100%; margin: 0 auto; }
  .grid-4, .cmd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .grid-4, .grid-3, .cmd-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .reply-kb { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .tg-head { flex-wrap: wrap; gap: 8px; }
  .sp { display: none; }
  .tabs { width: 100%; }
  .tab { flex: 1; height: 32px; }
  .kb-row span { font-size: 11px; padding: 7px 4px; }
}

/* Polish: giữ style neo-brutal, thêm nhịp và màu */
:root {
  --pink: #FF9EBB;
  --blue: #8CCBFF;
  --green: #9BE3B0;
  --lilac: #C9B2FF;
}
body {
  background-color: var(--ground);
  background-image: radial-gradient(rgba(0,0,0,.09) 1px, transparent 1.2px);
  background-size: 22px 22px;
}
.page { padding-top: 22px; }
.nav { margin-bottom: 56px; }

.hero { margin-bottom: 104px; gap: 56px; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: .98; margin-bottom: 20px; }
.hero h1 .hl {
  background: var(--accent);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  padding: 0 .15em;
  display: inline-block;
  transform: rotate(-1.5deg);
  margin-top: .12em;
}
.lead { font-size: 18px; }
.phone { transform: rotate(1.5deg); box-shadow: 10px 10px 0 var(--ink); }
.badges li:nth-child(1) { background: var(--green); }
.badges li:nth-child(2) { background: var(--blue); }
.badges li:nth-child(3) { background: var(--pink); }
.badges li:nth-child(4) { background: var(--lilac); }

.section { margin-bottom: 96px; }
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.05; }

.card { padding: 22px; transition: transform .12s ease, box-shadow .12s ease; }
.card:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.card-ico { width: 52px; height: 52px; margin-bottom: 16px; }
.card-ico svg { width: 26px; height: 26px; }
.grid-4 .card:nth-child(1) .card-ico { background: var(--accent); }
.grid-4 .card:nth-child(2) .card-ico { background: var(--pink); }
.grid-4 .card:nth-child(3) .card-ico { background: var(--blue); }
.grid-4 .card:nth-child(4) .card-ico { background: var(--green); }
.card h3 { font-size: 18px; }

.step { position: relative; padding-top: 26px; }
.step-num {
  font-size: 28px;
  line-height: 1;
  padding: 8px 12px;
  box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 14px;
}
.grid-3 .step:nth-child(2) .step-num { background: var(--pink); }
.grid-3 .step:nth-child(3) .step-num { background: var(--blue); }

.cmd-card { padding: 16px; gap: 10px; }
.cmd-card code { font-size: 15px; background: var(--accent); }
.cmd-card:hover code { background: var(--paper); }

.faq-list { max-width: 860px; }
.faq-item summary { font-size: 17px; padding: 18px 20px; }
.faq-item p { font-size: 15px; padding: 16px 20px 18px; }

.cta-banner {
  background: var(--accent);
  padding: clamp(26px, 4vw, 44px);
  margin-bottom: 48px;
}
.cta-banner .eyebrow { background: var(--paper); color: var(--ink); border: 2px solid var(--ink); }
.cta-banner h2 { font-size: clamp(26px, 3.6vw, 38px); }
.cta-banner .btn.primary { background: var(--ink); color: #fff; box-shadow: 4px 4px 0 var(--paper); white-space: nowrap; flex: none; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

@media (max-width: 960px) {
  .phone { transform: none; }
  .hero { gap: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .btn, .cmd-card { transition: none; }
}

/* Thoáng hơn */
body { line-height: 1.6; }
.page { max-width: 1440px; padding: 28px clamp(18px, 4vw, 40px) 72px; }
.nav { padding: 14px 22px; margin-bottom: 88px; }
.nav-links { gap: 28px; }

.hero { gap: clamp(48px, 7vw, 96px); margin-bottom: 160px; }
.hero h1 { margin-bottom: 28px; }
.eyebrow { margin-bottom: 20px; }
.lead { margin-bottom: 36px; line-height: 1.7; }
.cta-row { gap: 16px; margin-bottom: 28px; }
.badges { gap: 10px; }
.badges li { padding: 6px 12px; }

.phone { font-size: 13.5px; }
.chat { padding: 18px 16px; gap: 0; }
.screen { gap: 14px; }
.kb { gap: 7px; }
.kb-row { gap: 7px; }

.section { margin-bottom: 150px; }
.section-head { margin-bottom: 44px; }
.section-head p { margin-top: 10px; }

.grid-4, .grid-3 { gap: 28px; }
.card { padding: 30px 26px; }
.card-ico { margin-bottom: 22px; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 15px; line-height: 1.65; }

.cmd-grid { gap: 20px; }
.cmd-card { padding: 20px; gap: 12px; }
.cmd-card span { font-size: 14px; }

.faq-list { gap: 18px; }
.faq-item summary { padding: 22px 26px; }
.faq-item p { padding: 20px 26px 24px; line-height: 1.7; }

.cta-banner { padding: clamp(32px, 5vw, 64px); gap: 32px; margin-bottom: 72px; }
.cta-banner h2 { margin-bottom: 12px; }
.footer { padding-top: 24px; }

@media (max-width: 960px) {
  .nav { margin-bottom: 56px; }
  .hero { margin-bottom: 112px; }
  .section { margin-bottom: 104px; }
}
@media (max-width: 640px) {
  .grid-4, .grid-3 { gap: 22px; }
  .card { padding: 24px 22px; }
}
.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 .card { display: grid; grid-template-columns: auto 1fr; column-gap: 22px; align-items: start; }
.grid-4 .card-ico { grid-row: span 2; margin-bottom: 0; }
@media (max-width: 640px) { .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* Hero highlight ôm sát chữ, FAQ 2 cột trên màn rộng */
.hero h1 .hl {
  display: inline;
  transform: none;
  padding: .02em .18em;
  line-height: 1.22;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (min-width: 961px) {
  #faq {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
    gap: 64px;
    align-items: start;
  }
  #faq .section-head { position: sticky; top: 32px; margin-bottom: 0; }
  #faq .faq-list { max-width: none; }
}
.hero h1 { line-height: 1.14; }
.hero h1 .hl { line-height: inherit; padding: 0 .18em; }
