/* Shared LP primitives. Each page still owns its skin. */
.lp-wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}
.lp-wide { width: min(1280px, calc(100% - 32px)); margin-inline: auto; }

.lp-btn,
.lp-btn-ghost,
.lp-btn-zalo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 8px 0 22px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.55s cubic-bezier(0.32, 0.72, 0, 1), background 0.55s cubic-bezier(0.32, 0.72, 0, 1), color 0.55s cubic-bezier(0.32, 0.72, 0, 1);
}
.lp-btn { background: var(--lp-accent); color: var(--lp-on-accent); }
.lp-btn-ghost {
  background: transparent;
  color: var(--lp-ink);
  border: 1px solid var(--lp-line);
  padding-inline: 18px;
}
.lp-btn-zalo { background: #0068ff; color: #fff; padding-inline: 20px 18px; }
.lp-btn:hover,
.lp-btn-zalo:hover { transform: translateY(-1px); }
.lp-btn:active,
.lp-btn-ghost:active,
.lp-btn-zalo:active { transform: scale(0.98); }
.lp-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.lp-btn-ico {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--lp-ico-bg, rgb(0 0 0 / 0.12));
  transition: transform 0.55s cubic-bezier(0.32, 0.72, 0, 1);
}
.lp-btn:hover .lp-btn-ico { transform: translate(3px, -1px) scale(1.05); }
.lp-btn-ico::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.6px solid currentColor;
  border-top: 1.6px solid currentColor;
  transform: rotate(45deg);
  margin-left: -2px;
}

.lp-bezel {
  padding: 6px;
  border-radius: 32px;
  background: var(--lp-bezel, rgb(0 0 0 / 0.04));
  border: 1px solid var(--lp-line);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35);
}
.lp-bezel-in {
  border-radius: 26px;
  background: var(--lp-surface);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / 0.14);
  overflow: hidden;
}

[hidden] { display: none !important; }
.lp-field { display: grid; gap: 6px; }
button.lp-help {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  width: auto;
  text-align: left;
  cursor: pointer;
}
.lp-field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--lp-ink);
}
.lp-field input,
.lp-field select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--lp-line);
  background: var(--lp-input, #fff);
  color: var(--lp-ink);
  font: inherit;
}
.lp-field input::placeholder { color: var(--lp-mute); opacity: 0.8; }
.lp-field input:focus,
.lp-field select:focus {
  outline: 2px solid var(--lp-accent);
  outline-offset: 1px;
}
.lp-help { font-size: 0.78rem; color: var(--lp-mute); }

.lp-faq { display: grid; gap: 12px; }
.lp-faq details {
  border-top: 1px solid var(--lp-line);
  padding: 16px 0;
}
.lp-faq details:last-child { border-bottom: 1px solid var(--lp-line); }
.lp-faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--lp-ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.lp-faq summary::after {
  content: "+";
  font-family: var(--mono, ui-monospace, monospace);
  font-weight: 600;
  color: var(--lp-mute);
}
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq p { margin: 10px 0 0; color: var(--lp-mute); max-width: 62ch; }

.lp-foot {
  padding: 48px 0 64px;
  color: var(--lp-mute);
  font-size: 0.82rem;
  text-align: center;
}
.lp-foot a { color: inherit; }
.lp-doors { margin: 10px 0 0; }

body.lp-light .site-nav {
  background: rgb(255 255 255 / 0.78);
  border-color: rgb(15 23 42 / 0.08);
  box-shadow: 0 16px 36px -18px rgb(15 23 42 / 0.18), inset 0 1px 1px rgb(255 255 255 / 0.8);
}
body.lp-light .site-nav-links a { color: #3f3f46; }
body.lp-light .site-nav-links a:hover,
body.lp-light .site-nav-links a[aria-current="page"] { color: #09090b; }
body.lp-light .site-nav-cta {
  color: #050505 !important;
  background: #22bbff;
  border-color: #22bbff;
}
body.lp-light .site-nav-cta:hover {
  color: #050505 !important;
  background: #4cc8ff;
  border-color: #4cc8ff;
}
body.lp-light .nav-toggle { border-color: rgb(15 23 42 / 0.12); background: rgb(15 23 42 / 0.04); }
body.lp-light .nav-toggle span { background: #18181b; }
body.lp-light .brand-text-monolith { filter: none; }
body.lp-light h1,
body.lp-light h2,
body.lp-light h3 {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  color: var(--lp-ink);
}

@media (max-width: 768px) {
  .lp-wrap, .lp-wide { width: calc(100% - 32px); }
  .lp-btn, .lp-btn-ghost, .lp-btn-zalo { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-btn, .lp-btn-ico { transition: none; }
}
