.page-legal .header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  margin-top: 0;
  transform: translateY(0);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.page-legal .header.is-hidden {
  transform: translateY(-100%);
}

.page-legal .header.is-raised {
  box-shadow: 0 10px 28px rgba(var(--color-brand-primary-rgb), 0.22);
}

.page-legal .header .section-bg {
  opacity: 1;
}

#content.legal-page {
  --l-ink: var(--color-brand-primary);
  --l-body: #44403c;
  --l-muted: #78716c;
  --l-gold: #e5c583;
  --l-gold-deep: var(--color-brand-gold);
  --l-line: #e7e5e4;
  --l-canvas: #ffffff;
  --navbar-height: var(--header-height, 68px);
  background: #ffffff;
  color: var(--l-body);
}

#content.legal-page :is(p, span, li, a, button, small, label, legend, dt, dd, cite, figcaption) {
  font-family: "Be Vietnam Pro", sans-serif;
}

#content.legal-page :is(h1, h2, h3, blockquote p) {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  text-transform: none;
}

#content.legal-page form {
  margin: 0;
}

.legal-wrap {
  width: min(68rem, calc(100% - 48px));
  margin: 0 auto;
}

.legal-eyebrow {
  display: block;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: none;
  color: #c5a880;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 500;
  font-synthesis: none;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

#content.legal-page .legal-eyebrow {
  display: block;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #c5a880 !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  font-synthesis: none;
  letter-spacing: 0.15em !important;
  line-height: 1.4 !important;
  text-transform: uppercase !important;
}

#content.legal-page h2 {
  margin: 0 0 16px;
  color: var(--l-ink);
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

#content.legal-page .legal-lead {
  max-width: 40rem;
  margin: 0 0 40px;
  color: var(--l-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
}

#content.legal-page .legal-dossier .legal-lead,
#content.legal-page .legal-tax .legal-lead {
  max-width: none !important;
  width: 100% !important;
  text-align: left !important;
}

#content.legal-page .legal-scenes .legal-lead {
  max-width: none;
  color: #5a6a72;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
}

.legal-note {
  margin: 28px 0 0;
  color: var(--l-muted);
  font-size: 13px;
  line-height: 1.7;
}

#content.legal-page :is(a, button, input):focus-visible {
  outline: 2px solid var(--l-ink);
  outline-offset: 3px;
}

#phan-hang-ho-so,
#quy-trinh,
#checklist,
#thue-phi,
#kiem-tra-ho-so {
  scroll-margin-top: 96px;
}

/* ---------- index ---------- */

.legal-index {
  display: none;
}

#content.legal-page .legal-index button {
  min-width: 28px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 500;
  font-synthesis: none;
  letter-spacing: 0.18em;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.35s ease;
}

#content.legal-page .legal-index button[aria-current="true"] {
  color: #fff;
  opacity: 1;
}

#content.legal-page .legal-index button:not([aria-current="true"]) {
  opacity: 0.55;
}

#content.legal-page .legal-index button::after {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  margin: 8px 0 0 auto;
  background: #fff;
  transition: width 0.35s ease, opacity 0.35s ease;
}

#content.legal-page .legal-index button[aria-current="true"]::after {
  width: 36px;
  background: #fff;
}

/* ---------- hero ---------- */

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: min(88vh, 860px);
  background: #ffffff;
}

.legal-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--page-offset, 104px) + 36px) 64px 64px;
}

.legal-hero .kd-breadcrumb {
  display: block;
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: #6b7280 !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0.2em !important;
  line-height: 1.6 !important;
  text-align: left !important;
  text-transform: uppercase !important;
  -webkit-font-smoothing: antialiased;
}

.legal-hero .kd-breadcrumb__list {
  justify-content: flex-start;
  margin: 0 !important;
  padding: 0 !important;
}

.legal-hero .kd-breadcrumb a,
.legal-hero .kd-breadcrumb a:visited {
  color: #6b7280 !important;
  font-weight: 400 !important;
}

.legal-hero .kd-breadcrumb [aria-current="page"] {
  color: #9e8a78 !important;
  font-weight: 400 !important;
}

#content.legal-page .legal-hero .legal-eyebrow {
  margin: 0 0 16px !important;
  color: #c5a880 !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  font-synthesis: none;
  letter-spacing: 0.25em !important;
  line-height: 1.4 !important;
  text-align: left;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
}

#content.legal-page .legal-hero h1 {
  max-width: 18em;
  margin: 0 0 20px;
  color: #003d45;
  font-family: "Playfair Display", "DM Serif Text", Georgia, serif;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.015em;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

#content.legal-page .legal-hero__lead {
  max-width: 42rem;
  margin: 0 0 28px;
  color: #57534e;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 17px;
  font-weight: 300;
  font-synthesis: none;
  letter-spacing: 0.01em;
  line-height: 1.8 !important;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

#content.legal-page .legal-scroll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: #083335;
  font-family: "Montserrat", sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 1.5px;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease, transform 0.3s ease;
}

#content.legal-page .legal-scroll span {
  display: inline-block;
  width: auto;
  height: auto;
  background: none;
  animation: none;
  font-family: inherit;
  font-size: 12px;
  line-height: 1;
}

#content.legal-page .legal-scroll:hover {
  color: #c5a880;
  transform: translateY(3px);
}

@keyframes legal-scroll {
  0%, 100% { transform: scaleY(0.4); opacity: 0.35; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

.legal-hero__media {
  position: relative;
  margin: 0;
  min-height: 520px;
  overflow: hidden;
  border-radius: 0 !important;
  background: #e7e5e4;
}

.legal-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(92%) contrast(105%) saturate(90%);
}

#content.legal-page .legal-hero__media figcaption {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.75);
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ---------- scenes ---------- */

.legal-scenes {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 82vh;
  background: #fff;
}

.legal-scenes__visual {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: 0 !important;
  background: #e7e5e4;
}

.legal-scenes__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(92%) contrast(105%) saturate(90%);
  transition: opacity 0.5s ease;
}

.legal-scenes__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px 72px 64px;
}

.legal-scene-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.legal-scene-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 8px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(197, 168, 128, 0.35);
}

.legal-scene-list li:first-child {
  border-top: 1px solid rgba(197, 168, 128, 0.35);
}

.legal-scene__mark {
  width: 48px;
  color: #c5a880;
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.legal-scene-list button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

#content.legal-page .legal-scene-list button span {
  display: block;
  margin: 0 0 8px;
  color: #083335;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  line-height: 1.45;
  text-transform: uppercase;
}

#content.legal-page .legal-scene-list p {
  max-height: none;
  margin: 0;
  overflow: visible;
  color: #5a6a72;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 13.5px;
  font-weight: 300;
  font-synthesis: none;
  line-height: 1.7;
  opacity: 1;
}

/* ---------- roadmap ---------- */

.legal-roadmap {
  padding: 88px 0;
}

.legal-roadmap__spread {
  display: grid;
  width: min(76rem, calc(100% - 64px));
  margin: 0 auto;
  gap: 56px 72px;
  align-items: center;
}

.legal-roadmap__intro {
  min-width: 0;
}

.legal-roadmap__intro .legal-lead {
  max-width: 28rem;
}

.legal-roadmap__media {
  width: 100%;
  max-width: 22rem;
  margin: 28px 0 0;
  overflow: hidden;
  border: 1px solid #e5e0d8;
}

.legal-roadmap__media img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82);
}

.legal-track {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-track li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid #e5e0d8;
}

.legal-track li:first-child {
  border-top: 1px solid #e5e0d8;
}

.legal-track b {
  color: var(--l-gold-deep);
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}

.legal-track span {
  display: block;
  margin-bottom: 8px;
  color: var(--l-muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

#content.legal-page .legal-track h3 {
  max-width: 36rem;
  margin: 0;
  color: var(--l-body);
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.legal-track li:hover b {
  color: var(--l-ink);
}

/* ---------- checklist ---------- */

.legal-dossier {
  padding: 88px 0;
  background: #fff;
}

.legal-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 0;
}

.legal-cols article {
  min-width: 0;
}

.legal-cols article:first-child {
  padding-right: 48px;
  border-right: 1px solid #e8e3d9;
}

.legal-cols article:last-child {
  padding-left: 48px;
}

.legal-cols__index {
  display: block;
  margin: 0 0 8px;
  color: rgba(0, 61, 69, 0.7);
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
}

#content.legal-page .legal-cols h3 {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e0d8;
  color: var(--l-ink);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: -0.01em;
}

.legal-cols ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-cols li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0ece1;
}

.legal-cols li:last-child {
  border-bottom: 0;
}

.legal-cols i {
  flex: 0 0 auto;
  color: rgba(0, 61, 69, 0.45);
  font-family: "Playfair Display", serif;
  font-style: normal;
  font-size: 13px;
  line-height: 1.45;
}

.legal-cols li span {
  margin: 0;
  color: var(--l-body);
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

/* ---------- tax sheet ---------- */

.legal-tax {
  width: 100%;
  padding: 88px 0 0;
  background-color: #f9f6f0;
}

.legal-sheet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.legal-sheet > div:first-of-type {
  padding-right: 48px;
  border-right: 1px solid #e8e3d9;
}

.legal-sheet > div:last-of-type {
  padding-left: 48px;
}

.legal-sheet__party {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e0d8;
  color: var(--l-ink);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.legal-sheet ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-sheet li {
  padding: 0 0 12px;
  margin: 0 0 12px;
  border-bottom: 1px solid #e5e0d8;
}

.legal-sheet li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

#content.legal-page .legal-sheet strong {
  display: block;
  margin: 0 0 6px;
  color: var(--l-ink);
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.legal-sheet > div p {
  margin: 0 !important;
  color: var(--l-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
}

#content.legal-page .legal-dossier .legal-note,
#content.legal-page .legal-tax .legal-note {
  display: block;
  width: 100%;
  max-width: none;
  margin: 36px 0 0;
  padding: 0 !important;
  border: none !important;
  border-radius: 0;
  background: transparent !important;
  color: #5a6a72;
  font-family: "Be Vietnam Pro", sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 13.5px;
  line-height: 1.7;
  text-align: left;
  white-space: normal;
}

/* ---------- register ---------- */

.legal-register {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 760px;
  margin: 0;
  background: #fff;
}

.legal-register__visual {
  position: relative;
  margin: 0;
  min-height: 480px;
  overflow: hidden;
}

.legal-register__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  filter: brightness(92%) contrast(105%) saturate(90%);
}

.legal-register__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 32, 36, 0.62));
}

.legal-register blockquote {
  position: absolute;
  right: 32px;
  bottom: 36px;
  left: 32px;
  z-index: 1;
  margin: 0;
  padding-left: 18px;
  border-left: 2px solid #c5a880;
  color: #fff;
}

#content.legal-page .legal-register blockquote p {
  margin: 0 0 14px;
  color: #fff;
  font-size: 22px;
  line-height: 1.4;
}

.legal-register cite {
  color: var(--l-gold);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-register__form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px;
  background: var(--l-canvas);
}

.legal-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
  margin-bottom: 0;
}

.legal-under {
  display: block;
  min-width: 0;
  margin: 0;
}

.legal-under--wide {
  grid-column: 1 / -1;
}

#content.legal-page .legal-under span,
#content.legal-page .legal-pills legend {
  display: block;
  margin: 0 0 6px;
  color: #7a7570;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  line-height: 1.4;
  text-transform: uppercase;
}

#content.legal-page .legal-under input,
#content.legal-page .legal-under select {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 42px;
  margin: 0;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid #d5cec5;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #083335;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

#content.legal-page .legal-under select {
  font-size: 14.5px;
  padding-right: 28px;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23c5a880' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 12px 8px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

#content.legal-page .legal-under select:has(option[value=""]:checked) {
  color: #9ca3af;
  font-size: 13.5px;
  font-style: italic;
  font-weight: 300;
}

#content.legal-page .legal-under select option {
  color: #083335;
  font-style: normal;
  font-weight: 400;
  font-size: 14.5px;
}

#content.legal-page .legal-under input:focus,
#content.legal-page .legal-under input:focus-visible,
#content.legal-page .legal-under select:focus,
#content.legal-page .legal-under select:focus-visible {
  border-bottom: 1.5px solid #c5a880;
  outline: none;
}

#content.legal-page .legal-under input::placeholder,
#content.legal-page .legal-under input::-webkit-input-placeholder {
  color: #9ca3af !important;
  -webkit-text-fill-color: #9ca3af !important;
  font-size: 13.5px;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0;
  opacity: 1;
}

.legal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 22px;
  padding: 0;
  border: 0;
  min-width: 0;
  background: transparent;
}

#content.legal-page .legal-pills legend {
  flex: 1 0 100%;
  margin-bottom: 4px;
}

#content.legal-page .legal-pills label {
  position: relative;
  display: inline-flex;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.legal-pills input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  opacity: 0;
}

#content.legal-page .legal-pills span {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid rgba(197, 168, 128, 0.4);
  border-radius: 0;
  background: #faf8f5;
  color: #083335;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

#content.legal-page .legal-pills span::before,
#content.legal-page .legal-pills span::after {
  content: none;
  display: none;
}

#content.legal-page .legal-pills label:hover span {
  border-color: #c5a880;
  background: #faf8f5;
  color: #083335;
}

#content.legal-page .legal-pills input:checked + span,
#content.legal-page .legal-pills label:hover input:checked + span {
  border-color: #083335;
  background: #083335;
  color: #fff;
  font-weight: 400;
}

#content.legal-page .legal-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  min-height: 0;
  padding: 15px 32px;
  border: 0;
  border-radius: 0;
  background: #083335;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 12px !important;
  font-weight: 500 !important;
  font-synthesis: none;
  letter-spacing: 1.5px !important;
  line-height: 1.4;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 24px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#content.legal-page .legal-submit span {
  color: #fff;
}

.legal-submit span:last-child {
  transition: transform 0.3s ease;
}

#content.legal-page .legal-submit:hover {
  background: #c5a880;
  color: #fff;
  transform: translateY(-2px);
}

#content.legal-page .legal-submit:hover span:last-child {
  transform: none;
}

.legal-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

#content.legal-page .legal-status {
  min-height: 0;
  margin: 12px 0 0;
  font-size: 14px;
}

#content.legal-page .legal-status:empty {
  display: none;
  margin: 0;
}

#content.legal-page .legal-status.is-error {
  color: #9b2c2c;
}

#content.legal-page .legal-status.is-success {
  color: var(--l-ink);
}

#content.legal-page .legal-register__form .legal-meta {
  margin: 12px 0 0 !important;
  color: #7a7570 !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 300 !important;
  font-style: italic !important;
  font-synthesis: none !important;
  letter-spacing: 0 !important;
  line-height: 1.6 !important;
  text-align: center !important;
  text-transform: none !important;
}

.legal-register__form .legal-note {
  margin: 10px 0 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .legal-index {
    display: none;
  }

  .legal-roadmap__spread {
    grid-template-columns: 1fr;
    width: min(68rem, calc(100% - 48px));
    gap: 36px;
  }

  .legal-roadmap__media {
    max-width: 100%;
  }

  .legal-hero,
  .legal-scenes,
  .legal-register,
  .legal-cols,
  .legal-sheet {
    grid-template-columns: 1fr;
  }

  .legal-cols article:first-child {
    padding-right: 0;
    padding-bottom: 28px;
    border-right: 0;
    border-bottom: 1px solid #e8e3d9;
  }

  .legal-cols article:last-child {
    padding-left: 0;
    padding-top: 28px;
  }

  .legal-hero__copy,
  .legal-scenes__copy,
  .legal-register__form {
    padding: 72px 32px 48px;
  }

  .legal-hero__media,
  .legal-scenes__visual,
  .legal-register__visual {
    min-height: 360px;
  }

  .legal-sheet > div:first-of-type,
  .legal-sheet > div:last-of-type {
    padding: 0;
  }

  .legal-sheet > div:first-of-type {
    border-right: 0;
    padding-bottom: 28px;
    border-bottom: 1px solid #e8e3d9;
  }

  .legal-sheet > div:last-of-type {
    margin-top: 28px;
    padding-top: 28px;
    border-left: 0;
    border-top: 0;
  }

  #content.legal-page .legal-dossier .legal-note,
  #content.legal-page .legal-tax .legal-note {
    padding: 0 !important;
    white-space: normal;
  }

  .legal-scene-list p,
  .legal-scene-list button.is-active + p {
    max-height: none;
    margin: 0;
    opacity: 1;
  }
}

@media (max-width: 700px) {
  .legal-wrap {
    width: min(68rem, calc(100% - 32px));
  }

  .legal-hero__copy,
  .legal-scenes__copy,
  .legal-register__form {
    padding: 56px 24px 40px;
  }

  .legal-roadmap,
  .legal-dossier,
  .legal-tax {
    padding: 64px 0;
  }

  .legal-tax {
    padding-bottom: 0;
  }

  .legal-track li {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
  }

  .legal-fields {
    grid-template-columns: 1fr;
  }

}

@media (min-width: 1101px) {
  #content.legal-page .legal-scenes .legal-lead {
    white-space: nowrap;
  }

  #content.legal-page .legal-dossier .legal-note,
  #content.legal-page .legal-tax .legal-note {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .legal-scroll span,
  .legal-scenes__visual img,
  #content.legal-page .legal-submit {
    animation: none;
    transition: none;
  }

  #content.legal-page .legal-submit:hover {
    transform: none;
  }
}

@media (min-width: 1101px) {
  html:has(body.page-legal),
  html:has(body.page-legal) body {
    height: 100% !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  body.page-legal #main-wrapper {
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }

  body.page-legal .legal-deck {
    display: contents;
  }

  body.page-legal .legal-deck > section {
    box-sizing: border-box;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin: 0;
    scroll-margin-top: 0;
  }

  body.page-legal .legal-hero,
  body.page-legal .legal-scenes,
  body.page-legal .legal-register {
    display: grid;
    align-items: stretch;
    grid-template-rows: minmax(0, 1fr);
  }

  body.page-legal .legal-roadmap,
  body.page-legal .legal-dossier,
  body.page-legal .legal-tax {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--navbar-height, 68px) + 12px) 0 28px;
  }

  body.page-legal .legal-roadmap {
    padding: calc(var(--navbar-height, 68px) + clamp(8px, 1.4vh, 20px)) clamp(32px, 4vw, 64px) clamp(16px, 2.4vh, 32px);
  }

  body.page-legal .legal-roadmap__spread {
    grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
    width: min(76rem, 100%);
    gap: clamp(28px, 4.5vw, 72px);
    align-items: center;
  }

  body.page-legal .legal-roadmap__intro .legal-eyebrow {
    margin: 0 0 clamp(10px, 1.4vh, 16px);
  }

  body.page-legal #content.legal-page .legal-roadmap h2 {
    margin: 0 0 clamp(12px, 1.6vh, 18px);
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.16;
  }

  body.page-legal #content.legal-page .legal-roadmap .legal-lead {
    margin: 0;
    line-height: 1.65;
  }

  body.page-legal .legal-roadmap__media {
    margin-top: clamp(18px, 2.6vh, 28px);
  }

  body.page-legal .legal-roadmap__media img {
    height: clamp(128px, 20vh, 196px);
  }

  body.page-legal .legal-track li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    padding: clamp(10px, 1.5vh, 18px) 0;
  }

  body.page-legal .legal-track b {
    font-size: clamp(26px, 2.6vw, 32px);
  }

  body.page-legal #content.legal-page .legal-track h3 {
    font-size: 14px;
    line-height: 1.65;
  }

  body.page-legal .legal-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    column-gap: 40px;
    padding: calc(var(--navbar-height, 68px) + 24px) 56px 32px;
    background: #ffffff !important;
    align-items: stretch;
  }

  body.page-legal .legal-hero__copy {
    justify-content: flex-start;
    min-height: 0;
    padding: 0;
  }

  body.page-legal #content.legal-page .legal-scroll {
    margin-top: auto;
  }

  body.page-legal .legal-hero__media {
    align-self: stretch;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    border-radius: 0 !important;
  }

  body.page-legal .legal-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body.page-legal .legal-scenes {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    grid-template-rows: auto;
    align-content: stretch;
    align-items: stretch;
    column-gap: 40px;
    padding: calc(var(--navbar-height, 68px) + 24px) 56px 32px;
    background: #ffffff !important;
  }

  body.page-legal .legal-scenes__copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    padding: 0;
    gap: clamp(6px, 1vh, 12px);
  }

  body.page-legal #content.legal-page .legal-scenes__copy .legal-eyebrow {
    margin: 0 0 calc(12px - clamp(6px, 1vh, 12px)) !important;
  }

  body.page-legal #content.legal-page .legal-scenes h2 {
    margin: 0;
  }

  body.page-legal #content.legal-page .legal-scenes .legal-lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    white-space: nowrap;
  }

  body.page-legal .legal-scene-list {
    flex: 0 1 auto;
    min-height: 0;
  }

  body.page-legal .legal-scenes__copy {
    overflow-y: auto;
  }

  body.page-legal .legal-scene-list li {
    padding: 18px 0;
  }

  body.page-legal .legal-scene-list button {
    padding: 0;
  }

  body.page-legal .legal-scene-list button span {
    margin-bottom: 8px;
  }

  body.page-legal #content.legal-page .legal-scene-list p {
    max-height: none;
    margin: 0;
    font-size: 13.5px;
    line-height: 1.7;
    opacity: 1;
  }

  body.page-legal .legal-register__form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    overflow-y: auto;
    padding:
      calc(var(--navbar-height, 68px) + clamp(8px, 1.2vh, 16px))
      clamp(32px, 4vw, 52px)
      clamp(12px, 1.8vh, 22px);
    gap: 0;
  }

  body.page-legal .legal-register__form .legal-eyebrow {
    margin: 0 0 clamp(6px, 1vh, 12px);
  }

  body.page-legal #content.legal-page .legal-register h2 {
    margin: 0 0 clamp(6px, 1vh, 12px);
    font-size: clamp(26px, 2.8vw, 38px);
  }

  body.page-legal #content.legal-page .legal-register blockquote p {
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.4;
  }

  body.page-legal #content.legal-page .legal-register .legal-lead {
    margin: 0 0 clamp(8px, 1.4vh, 16px);
    line-height: 1.55;
  }

  body.page-legal .legal-register__form form {
    display: flex;
    flex-direction: column;
  }

  body.page-legal .legal-fields {
    gap: 14px 28px;
    margin-bottom: 0;
  }

  body.page-legal .legal-under {
    margin-bottom: 0;
  }

  body.page-legal .legal-under span {
    margin-bottom: 6px;
  }

  body.page-legal #content.legal-page .legal-under input,
  body.page-legal #content.legal-page .legal-under select {
    height: 42px;
    padding: 10px 0;
  }

  body.page-legal #content.legal-page .legal-under select {
    padding-right: 28px;
  }

  body.page-legal .legal-pills {
    margin: 0 0 18px;
    gap: 10px;
  }

  body.page-legal #content.legal-page .legal-pills legend {
    margin-bottom: 4px;
  }

  body.page-legal #content.legal-page .legal-pills label {
    min-height: 0;
    padding: 0;
  }

  body.page-legal #content.legal-page .legal-pills span {
    min-height: 0;
    padding: 8px 16px;
  }

  body.page-legal #content.legal-page .legal-submit {
    min-height: 0;
    margin-top: 24px;
    padding: 15px 32px;
  }

  body.page-legal #content.legal-page .legal-status {
    min-height: 0;
    margin: clamp(4px, 0.8vh, 8px) 0 0;
  }

  body.page-legal #content.legal-page .legal-register__form .legal-meta {
    margin: 12px 0 0 !important;
    color: #7a7570 !important;
    font-size: 12.5px !important;
    font-weight: 300 !important;
    font-style: italic !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-transform: none !important;
  }

  body.page-legal .legal-hero__media,
  body.page-legal .legal-register__visual {
    min-height: 0 !important;
    height: 100%;
  }

  body.page-legal .legal-scenes__visual {
    position: relative;
    align-self: stretch;
    min-height: 0 !important;
    height: auto;
    overflow: hidden;
    border-radius: 0 !important;
  }

  body.page-legal .legal-scenes__visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body.page-legal #content.legal-page .legal-lead {
    margin: 0 0 20px;
  }

  body.page-legal .legal-note {
    margin: 14px 0 0;
  }

  body.page-legal #content.legal-page .legal-dossier .legal-note,
  body.page-legal #content.legal-page .legal-tax .legal-note {
    margin: 36px 0 0;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    font-size: 13.5px;
    line-height: 1.7;
    text-align: left;
    white-space: normal;
  }

  body.page-legal .legal-track li {
    padding: 14px 0;
  }

  body.page-legal #content.legal-page .legal-tax h2 {
    margin: 0 0 clamp(8px, 1.2vh, 14px);
  }

  body.page-legal #content.legal-page .legal-tax .legal-lead {
    margin: 0 0 clamp(16px, 2.2vh, 24px);
    max-width: none !important;
    width: 100% !important;
    text-align: left !important;
    line-height: 1.6;
  }

  body.page-legal .legal-sheet > div:first-of-type {
    padding-right: clamp(28px, 4vw, 48px);
  }

  body.page-legal .legal-sheet > div:last-of-type {
    padding-left: clamp(28px, 4vw, 48px);
  }

  body.page-legal .legal-sheet__party {
    margin: 0 0 clamp(10px, 1.4vh, 14px);
    padding-bottom: clamp(8px, 1.1vh, 12px);
  }

  body.page-legal .legal-sheet li {
    padding: 0 0 clamp(10px, 1.4vh, 14px);
    margin: 0 0 clamp(10px, 1.4vh, 14px);
  }

  body.page-legal #content.legal-page .legal-sheet strong {
    font-size: clamp(16px, 1.5vw, 18px);
  }

  body.page-legal .legal-sheet > div p {
    font-size: 13px;
    line-height: 1.55;
  }

  body.page-legal #content.legal-page .legal-tax .legal-note {
    grid-column: auto;
    width: 100%;
    max-width: none;
    margin: 36px 0 0 !important;
    padding: 0 !important;
    font-size: 13.5px;
    line-height: 1.7;
    text-align: left;
    white-space: normal;
  }

  body.page-legal #content.legal-page .legal-dossier h2 {
    margin: 0 0 clamp(8px, 1.2vh, 14px);
  }

  body.page-legal #content.legal-page .legal-dossier .legal-lead {
    max-width: none !important;
    width: 100% !important;
    text-align: left !important;
    margin: 0 0 clamp(14px, 2vh, 22px);
    line-height: 1.7;
  }

  body.page-legal .legal-cols article:first-child {
    padding-right: clamp(28px, 4vw, 48px);
  }

  body.page-legal .legal-cols article:last-child {
    padding-left: clamp(28px, 4vw, 48px);
  }

  body.page-legal .legal-cols__index {
    margin: 0 0 clamp(4px, 0.8vh, 8px);
    font-size: clamp(22px, 2.4vh, 28px);
  }

  body.page-legal #content.legal-page .legal-cols h3 {
    margin: 0 0 clamp(10px, 1.4vh, 16px);
    padding-bottom: clamp(8px, 1.2vh, 12px);
    font-size: clamp(18px, 1.7vw, 22px);
    text-transform: none;
    letter-spacing: -0.01em;
  }

  body.page-legal .legal-cols li {
    padding: clamp(7px, 1vh, 10px) 0;
    gap: 12px;
  }

  body.page-legal .legal-cols li span {
    font-size: 14px;
    line-height: 1.5;
  }

  body.page-legal .legal-dossier .legal-note {
    margin: 36px 0 0;
    line-height: 1.7;
  }

  body.page-legal .legal-scene-list button {
    padding: 0;
  }

  body.page-legal #phan-hang-ho-so,
  body.page-legal #quy-trinh,
  body.page-legal #checklist,
  body.page-legal #thue-phi,
  body.page-legal #kiem-tra-ho-so {
    scroll-margin-top: 0;
  }

  body.page-legal .footer {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
  html:has(body.page-legal),
  html:has(body.page-legal) body,
  body.page-legal #main-wrapper {
    scroll-snap-type: none;
    scroll-behavior: auto;
  }
}

/* Editorial split — match /tu-van-vay #tham-dinh */

.legal-register {
  display: block;
  min-height: 0;
  margin: 0;
  background: #ffffff;
}

.legal-register__split {
  display: grid;
  grid-template-columns: minmax(0, 32%) minmax(0, 68%);
  gap: 0;
  align-items: stretch;
  width: calc(100% - 80px);
  max-width: 1680px !important;
  margin: 0 auto !important;
  overflow: hidden;
  background-color: #faf8f5;
}

.legal-register__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 64px 56px;
  background-color: #faf8f5;
}

#content.legal-page .legal-register__copy .legal-eyebrow {
  display: block;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #c5a880 !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  font-synthesis: none;
  letter-spacing: 0.15em !important;
  line-height: 1.4 !important;
  text-transform: uppercase !important;
}

#content.legal-page .legal-register__copy h2 {
  margin: 0 0 14px !important;
  color: #083335 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 34px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}

#content.legal-page .legal-register__copy .legal-lead {
  max-width: 28rem;
  margin: 0 0 40px !important;
  color: #5a6a72 !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 300 !important;
  letter-spacing: 0 !important;
  line-height: 1.8 !important;
  white-space: normal !important;
}

#content.legal-page .legal-register .editorial-action-link {
  display: block !important;
  align-self: flex-start !important;
  width: fit-content !important;
  max-width: 100%;
  max-width: 100%;
  padding: 0 0 6px !important;
  border-bottom: 1px solid rgba(8, 51, 53, 0.4) !important;
  color: #083335 !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  font-synthesis: none;
  letter-spacing: 0.15em !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  -webkit-font-smoothing: antialiased;
  transition: color 0.3s ease, border-color 0.3s ease;
}

#content.legal-page .legal-register .editorial-action-link:hover,
#content.legal-page .legal-register .editorial-action-link:focus-visible {
  color: #c5a880 !important;
  border-bottom-color: #c5a880 !important;
}

.legal-register__visual {
  position: relative;
  min-width: 0;
  width: 100%;
  height: 100%;
  min-height: 460px;
  margin: 0;
  overflow: hidden;
  background: #083335;
}

.legal-register__visual::after,
.legal-register blockquote {
  content: none;
  display: none;
}

.legal-register__visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  border-radius: 0;
}

@media (max-width: 980px) {
  .legal-register__split {
    grid-template-columns: 1fr !important;
    width: calc(100% - 40px);
    margin: 0 auto !important;
  }

  .legal-register__copy {
    min-height: 0;
    padding: 48px 28px;
  }

  .legal-register__visual {
    min-height: 420px;
  }
}

@media (max-width: 700px) {
  #content.legal-page .legal-register__copy h2 {
    font-size: 30px !important;
  }

  .legal-register__copy {
    padding: 40px 24px;
  }

  .legal-register__visual {
    min-height: 320px;
  }
}

@media (min-width: 1101px) {
  body.page-legal .legal-deck > section.legal-tax {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: none !important;
    overflow: visible !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: normal !important;
    background-color: #f9f6f0 !important;
  }

  body.page-legal .legal-deck > section.legal-register {
    display: block;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
    background: #ffffff;
  }

  body.page-legal .footer {
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
  }

  body.page-legal #main-wrapper {
    scroll-snap-type: y proximity;
  }

  body.page-legal .legal-register__visual {
    min-height: 460px !important;
    height: 100%;
  }

  body.page-legal #content.legal-page .legal-register__copy .legal-eyebrow {
    margin: 0 0 12px !important;
    color: #c5a880 !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.15em !important;
  }

  body.page-legal #content.legal-page .legal-register__copy h2 {
    margin: 0 0 14px !important;
    font-size: 34px !important;
    line-height: 1.2 !important;
  }

  body.page-legal #content.legal-page .legal-register__copy .legal-lead {
    margin: 0 0 40px !important;
    font-size: 13.5px !important;
    line-height: 1.8 !important;
  }
}

.legal-register,
body.page-legal .legal-register {
  margin: 0 !important;
  padding: 40px 0 !important;
  background-color: #ffffff !important;
}

