/* Mọi animation giữ nguyên tỷ lệ PNG, không làm biến dạng vòng đen/thanh cam. */
.nomi-v1 { display: inline-grid; width: var(--nomi-size, 88px); aspect-ratio: 1; flex: 0 0 auto; position: relative; vertical-align: middle; }
.nv-actor { grid-area: 1/1; position: relative; display: grid; width: 100%; height: 100%; transform-origin: 50% 80%; }
.nv-frame { grid-area: 1/1; display: block; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .38s cubic-bezier(.22,1,.36,1); pointer-events: none; }
.nv-front { opacity: 1; }
.nomi-v1[data-motion="idle"] > .nv-actor { animation: nv-idle 5s ease-in-out infinite; }
.nomi-v1[data-motion="wave"] > .nv-actor { animation: nv-wave .5s ease-in-out 3; transform-origin: 50% 85%; }
.nomi-v1[data-motion="nod"] > .nv-actor, .nomi-v1[data-motion="happy"] > .nv-actor { animation: nv-nod .45s ease-in-out 2; }
.nomi-v1[data-motion="point"] > .nv-actor, .nomi-v1[data-motion="present"] > .nv-actor { animation: nv-point .65s ease-out 1; }
.nomi-v1[data-motion="bow"] > .nv-actor { animation: nv-bow .8s ease-in-out 1; transform-origin: 50% 90%; }
.nomi-v1[data-motion="jump"] > .nv-actor, .nomi-v1[data-motion="celebrate"] > .nv-actor { animation: nv-jump .7s ease-in-out 2; }
.nomi-v1[data-motion="walk"] > .nv-actor { animation: nv-walk .45s ease-in-out 3; }
.nomi-v1[data-motion="think"] > .nv-actor { animation: nv-think 2s ease-in-out infinite; }
.nomi-v1[data-motion="support"] > .nv-actor { animation: nv-support .8s ease-out 1; }
.nomi-v1[data-motion="laugh"] > .nv-actor { animation: nv-laugh .2s ease-in-out 4; }
.nomi-v1[data-motion="wink"] > .nv-actor { animation: nv-wink .65s cubic-bezier(.22,1,.36,1) 1; }
.nomi-v1[data-motion="surprise"] > .nv-actor { animation: nv-jump .55s ease-in-out 1; }
.nomi-v1[data-motion="focus"] > .nv-actor { animation: nv-focus 1.3s ease-out 1; }
.nomi-v1[data-motion="confused"] > .nv-actor { animation: nv-confused .5s ease-in-out 2; }
.nomi-v1[data-motion="worry"] > .nv-actor { animation: nv-wave .7s ease-in-out 1; }
.nomi-v1[data-motion="sad"] > .nv-actor { animation: nv-sad .8s ease-out 1; }
.nomi-v1[data-motion="sleep"] > .nv-actor { animation: nv-sleep 5s ease-in-out infinite; }
@keyframes nv-idle { 50% { transform: translateY(-5px) rotate(1.5deg); } }
@keyframes nv-wave { 25% { transform: rotate(-4deg); } 75% { transform: rotate(4deg); } }
@keyframes nv-nod { 50% { transform: translateY(3px) rotate(2deg); } }
@keyframes nv-point { 40% { transform: translateX(4px); } }
@keyframes nv-bow { 50% { transform: translateY(4px) rotate(7deg); } }
@keyframes nv-jump { 45% { transform: translateY(-9px) rotate(-3deg); } }
@keyframes nv-walk { 25% { transform: translateX(-4px) rotate(-3deg); } 75% { transform: translateX(4px) rotate(3deg); } }
@keyframes nv-think { 50% { transform: translateY(-2px) rotate(-3deg); } }
@keyframes nv-support { 40% { transform: translateY(-4px); } }
@keyframes nv-laugh { 50% { transform: translateY(-2px) rotate(2deg); } }
@keyframes nv-focus { 40% { transform: translateY(2px); } }
@keyframes nv-confused { 25% { transform: rotate(-5deg); } 75% { transform: rotate(3deg); } }
@keyframes nv-sad { 60% { transform: translateY(3px) rotate(-2deg); } }
@keyframes nv-sleep { 50% { transform: translateY(2px) rotate(2deg); } }
@keyframes nv-wink { 35% { transform: translateY(-3px) rotate(-5deg); } 65% { transform: translateY(-2px) rotate(2deg); } }
.nv-eyelids { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.nomi-v1[data-nomi="E01"][data-nomi-animated] .nv-eyelids { animation: nv-blink 5.7s steps(1) infinite; }
@keyframes nv-blink { 0%, 92%, 96%, 100% { opacity: 0; } 93%, 95% { opacity: 1; } }
.nv-orbit, .nv-shadow { display: none; pointer-events: none; }
.tl-pet .nomi-v1 { animation: nv-hover 4.8s ease-in-out infinite; }
.tl-pet .nv-actor { translate: var(--nv-look-x, 0px) var(--nv-look-y, 0px); transition: translate .35s ease-out; }
.tl-pet .nv-shadow { display: block; position: absolute; bottom: -3px; left: 22%; width: 56%; height: 5px; background: radial-gradient(ellipse, rgba(50,35,25,.18), transparent 70%); animation: nv-shadow 4.8s ease-in-out infinite; }
.tl-pet .nv-orbit, .tl-top .nomi-v1[data-motion="think"] .nv-orbit { display: block; position: absolute; inset: 7% -5% 4%; border: 1px solid transparent; border-top-color: rgba(232,97,26,.55); border-bottom-color: rgba(232,97,26,.18); border-radius: 50%; animation: nv-orbit 9s linear infinite; opacity: .45; }
.tl-pet .nomi-v1[data-motion="think"] .nv-orbit, .tl-top .nomi-v1[data-motion="think"] .nv-orbit { animation-duration: 1.8s; opacity: .85; }
.tl-pet .nomi-v1[data-motion="sleep"] .nv-orbit { opacity: 0; }
.tl-pet .nv-orbit::before { content: ''; position: absolute; top: 7%; left: 14%; width: 4px; height: 4px; border-radius: 50%; background: #e8611a; }
@keyframes nv-hover { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-8px) rotate(1.2deg); } }
@keyframes nv-shadow { 50% { opacity: .55; transform: scale(.82); } }
@keyframes nv-orbit { to { transform: rotate(360deg); } }
.nomi-paused .nomi-v1, .nomi-paused .nomi-v1 * { animation-play-state: paused !important; }
.nomi-help { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 0; border-radius: 0; background: transparent; color: #242420; }
.nomi-help p { margin: 4px 0; font-size: 14px; line-height: 1.6; }
.nomi-help .nomi-v1 { --nomi-size: 76px; }
.nomi-help strong { font-size: 15px; }
.nomi-help a, .nomi-inline-link { color: #a74213; font-weight: 650; }
.nomi-inline-link { padding: 0; background: none; border: 0; cursor: pointer; text-align: left; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.nomi-personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 12px 0 18px; border-bottom: 1px solid var(--line); }
.nomi-personas a { display: flex; align-items: center; gap: 10px; padding: 4px 8px; border: 0; border-radius: 6px; color: var(--black); background: transparent; text-decoration: none; }
.nomi-personas .nomi-v1 { --nomi-size: 44px; }
.nomi-personas strong, .nomi-personas small { display: block; }
.nomi-personas small { color: var(--muted); margin-top: 4px; font-size: 13px; }
.nomi-personas a:hover { color: var(--orange); }
.nomi-service-image { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; background: transparent; border-radius: 0; }
.nomi-service-image .nomi-v1 { --nomi-size: 175px; }
.nomi-service-image p { color: #625a50; font-size: 13px; line-height: 1.5; text-align: center; margin: 0; max-width: 210px; }
.dvn-chu .dvn-check-note { margin-top: 16px; font-size: 13px; color: var(--text2); }
.bp-tro-nomi { display: flex; align-items: center; gap: 12px; }
.bp-tro-nomi .nomi-v1 { --nomi-size: 76px; }
.nomi-bp-start { margin-bottom: 20px; }
.nomi-bp-start .nomi-v1 { --nomi-size: 98px; }
.nomi-service-help { margin: 20px 0; }
.dv-hero .nomi-service-help { grid-column: 1 / -1; }
/* Lời chuẩn bị nằm dưới CTA của Kỹ thuật, tránh thêm một hàng trống dưới hero. */
.dv-ky-thuat-tan-noi .dv-hero { padding-top: 20px; }
.dv-ky-thuat-tan-noi .dv-hero-luoi { align-items: start; gap: 28px; }
.dv-ky-thuat-tan-noi .nomi-service-help { padding: 0; margin: 16px 0 0; gap: 12px; }
.dv-ky-thuat-tan-noi .nomi-service-help .nomi-v1 { --nomi-size: 56px; }
.dv-ky-thuat-tan-noi .nomi-service-help strong { font-size: 14px; }
.dv-ky-thuat-tan-noi .nomi-service-help p { margin: 4px 0 0; font-size: 13px; line-height: 1.5; }
.dv-ky-thuat-tan-noi .dv-hero + .dv-khoi { padding-top: 28px; }
.bh-form > .nomi-help { margin-bottom: 18px; }
.nomi-product-help { margin: 16px 0 4px; }
.nomi-empty { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 18px; }
.nomi-empty .nomi-v1 { --nomi-size: 100px; }
.nomi-empty p { margin: 0 0 10px; }
.gio-trong .nomi-empty { flex-direction: column; }
.nomi-policy-help { display: flex; align-items: center; gap: 10px; }
.nomi-policy-help .nomi-v1 { --nomi-size: 54px; }
.nomi-article-help { margin: 28px 0; }
.nomi-newsletter-head { display: flex; align-items: center; gap: 12px; }
.nomi-newsletter-head .nomi-v1 { --nomi-size: 64px; }
.kt-gon > .nomi-v1 { --nomi-size: 50px; }
.nomi-lesson-avatar .nomi-v1 { --nomi-size: 54px; }
.nomi-lesson-avatar { float: left; margin: 0 12px 4px 0; }
/* Mascot đứng trực tiếp trên trang. Bubble là lời mời, không đóng khung nhân vật. */
body .tl-roi { position: fixed; top: auto; right: 20px; bottom: 20px; z-index: 60; }
body .tl-pet { flex-direction: column; gap: 6px; background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; filter: none; }
body .tl-pet .nomi-v1 { --nomi-size: 88px; }
body .tl-the { margin: 0; padding: 4px 8px; background: rgba(255,255,255,.9); border-radius: 12px; color: #88370c; box-shadow: none; font-size: 12px; }
body .tl-pet:hover .tl-the { color: #a34210; background: #fff; }
body .tl-bong { display: flex; align-items: flex-start; gap: 8px; top: auto; bottom: calc(100% + 8px); right: 0; margin: 0; width: 240px; max-width: calc(100vw - 32px); box-sizing: border-box; padding: 12px; border-radius: 14px 14px 2px 14px; animation: nv-bubble-in .4s cubic-bezier(.22,1,.36,1); }
body .tl-bong[hidden] { display: none; }
body .tl-roi:has(.tl-bong:not([hidden])) .tl-the { visibility: hidden; }
body .tl-bong .tl-prompt { flex: 1 1 0; min-width: 0; width: auto; max-width: 100%; height: auto; min-height: 30px; padding: 0; border: 0; background: none; color: #242420; font: inherit; font-size: 13px; line-height: 1.5; text-align: left; white-space: normal; overflow-wrap: anywhere; }
body .tl-bong .tl-prompt-close { flex: 0 0 20px; width: 20px; height: 20px; padding: 0; }
body .tl-bong .tl-prompt:hover { color: #a74213; }
@keyframes nv-bubble-in { from { opacity: 0; transform: translate(8px, 5px); } to { opacity: 1; transform: none; } }
body .tl-top .nomi-v1 { --nomi-size: 60px; }
body .tl-top { min-height: 78px; }
.tl-state { display: block; color: #806d59; font-size: 12px; margin-top: 3px; min-height: 17px; }
body.tl-co { padding-bottom: 0; }
body.nomi-input-focus .tl-roi, body:has(dialog[open]) .tl-roi, body:has(#gio-hop:not([hidden])) .tl-roi { visibility: hidden; pointer-events: none; }
body:has(.bp-thanh:not([hidden])) .tl-roi { bottom: 20px; }
@media (max-width: 767px) {
  .nomi-personas { gap: 4px; padding: 8px 0 12px; }
  .nomi-personas a { flex-direction: row; gap: 5px; padding: 2px 0; text-align: left; }
  .nomi-personas .nomi-v1 { --nomi-size: 32px; }
  .nomi-personas strong { font-size: 12px; }
  .nomi-personas small { display: none; }
  .nomi-help { padding: 12px 0; gap: 10px; }
  .nomi-help .nomi-v1 { --nomi-size: 60px; }
  .nomi-empty { gap: 10px; padding: 12px 0; }
  .nomi-empty .nomi-v1 { --nomi-size: 72px; }
  .nomi-service-image { padding: 12px; }
  .nomi-service-image .nomi-v1 { --nomi-size: 125px; }
  body .tl-roi { right: 12px; left: auto; bottom: calc(16px + env(safe-area-inset-bottom)); width: 70px; height: auto; padding: 0; background: none; border: 0; }
  body .tl-pet { padding: 0; min-height: 44px; gap: 4px; }
  body .tl-pet .nomi-v1 { --nomi-size: 70px; }
  body .tl-the { font-size: 11px; }
  body .tl-bong { width: 228px; max-width: calc(100vw - 24px); }
  body:has(.bp-thanh:not([hidden])) { padding-bottom: calc(116px + env(safe-area-inset-bottom)); }
  body:has(.bp-thanh:not([hidden])) .bp-thanh { right: 100px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  body:has(.bp-thanh:not([hidden])) .tl-roi { bottom: calc(16px + env(safe-area-inset-bottom)); }
  body.tl-co .bp-toast { bottom: calc(32px + env(safe-area-inset-bottom)); }
  body.tl-co:has(.bp-thanh:not([hidden])) .bp-toast { bottom: calc(82px + env(safe-area-inset-bottom)); }
  body.tl-mo { padding-bottom: 0; }
  body .tl-khung { top: max(8px, env(safe-area-inset-top)); bottom: max(8px, env(safe-area-inset-bottom)); height: auto; max-height: none; }
  body .tl-top .nomi-v1 { --nomi-size: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .nomi-v1, .nomi-v1 *, .tl-bong { animation: none !important; transform: none !important; }
  .nv-frame { transition: none; }
}
@media print { .nomi-v1, .nomi-help, .nomi-personas, .tl-roi, .tl-khung { display: none !important; } }

/* Bốn lối chọn nhu cầu: chung, Work, Play, Create. */
.nomi-personas-section { margin: 22px 0 12px; scroll-margin-top: 145px; }
/* Ưu đãi dưới hero: thẻ lớn hơn, tiêu đề đọc được thay vì hai dòng cắt ngắn. */
.km-nhanh { margin-top: 18px; }
.km-nhanh-luoi { min-height: 140px; }
.kmn { flex: 1 0 calc((100% - 36px) / 3.1); min-height: 140px; padding: 14px; }
.kmn > img { width: 152px; }
.kmn > span { gap: 5px; }
.kmn strong { font-size: 15.5px; line-height: 1.4; -webkit-line-clamp: 4; }
@media (min-width: 761px) and (max-width: 1100px) {
  .kmn { flex-basis: calc((100% - 24px) / 2.1); }
  .kmn > img { width: 132px; }
}
@media (max-width: 760px) {
  .km-nhanh { margin-top: 14px; }
  .km-nhanh-luoi { min-height: 132px; }
  .kmn { flex: 0 0 90%; min-height: 132px; padding: 12px; gap: 12px; }
  .kmn > img { width: 120px; }
  .kmn strong { font-size: 14px; }
  .dv-ky-thuat-tan-noi .dv-hero-luoi { gap: 20px; }
  .dv-ky-thuat-tan-noi .nomi-service-help .nomi-v1 { --nomi-size: 48px; }
}
/* Năm thẻ nhu cầu: ảnh nằm trong khung, không có chuyển động tự chạy. */
.np-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.np-heading h2 { margin: 0; color: var(--black, #242420); font-size: 25px; line-height: 1.3; letter-spacing: -.6px; text-wrap: balance; }
.np-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 180px 160px 190px; gap: 14px; }
.np-card { position: relative; display: block; min-width: 0; overflow: hidden; isolation: isolate; padding: 28px; border: 1px solid transparent; border-radius: 20px; background: #fafaf8; color: #292822; text-decoration: none; text-align: left; font: inherit; cursor: pointer; transition: border-color .25s ease, box-shadow .25s ease; }
.np-play { grid-column: 1 / 6; grid-row: 1 / 3; background: #242620; color: #fff; }
.np-work { grid-column: 6 / 10; grid-row: 1 / 3; background: #f5f4f0; }
.np-enterprise { grid-column: 6 / 10; grid-row: 3; background: #eaf0f4; }
.np-create { grid-column: 10 / 13; grid-row: 1 / 4; background: #fae2d2; }
.np-general { grid-column: 1 / 6; grid-row: 3; background: #f3e8d9; }
.np-copy { position: relative; z-index: 1; display: block; }
.np-kicker { display: block; margin-bottom: 10px; color: #a74b20; font-size: 10px; font-weight: 750; letter-spacing: 1.5px; }
.np-title { display: block; font-size: 30px; line-height: 1.1; letter-spacing: -.8px; font-weight: 750; }
.np-description { display: block; margin-top: 10px; font-size: 13px; line-height: 1.55; color: #6b6258; }
.np-cta { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: #a94414; font-size: 12px; font-weight: 700; }
.np-cta .ic { width: 15px; height: 15px; transition: transform .25s ease; }
.np-figure { position: absolute; display: grid; width: var(--np-size); aspect-ratio: 1; right: var(--np-right, 0px); bottom: var(--np-bottom, 0px); pointer-events: none; }
.np-pose { grid-area: 1 / 1; display: block; width: 100%; height: 100%; object-fit: contain; }
.np-play { --np-size: 355px; --np-right: -24px; --np-bottom: -82px; }
.np-play .np-copy { max-width: 52%; }
.np-play .np-title { font-size: 42px; letter-spacing: -1.3px; }
.np-play .np-description { max-width: 180px; color: #d3d1c8; }
.np-play .np-kicker, .np-play .np-cta { color: #ffb486; }
.np-play .np-cta { margin-top: 24px; }
.np-work { --np-size: 190px; --np-right: -18px; --np-bottom: -12px; padding: 25px; }
.np-work .np-copy { max-width: 57%; }
.np-work .np-title { font-size: 27px; }
.np-work .np-description { font-size: 12px; }
.np-work .np-cta { margin-top: 14px; }
.np-enterprise { --np-size: 270px; --np-right: 6px; --np-bottom: -2px; }
.np-enterprise .np-kicker { color: #45677c; }
.np-enterprise .np-title { font-size: 27px; }
.np-enterprise .np-description { max-width: 185px; font-size: 12px; }
.np-create { --np-size: 352px; --np-right: -46px; --np-bottom: 7px; padding: 25px; }
.np-create .np-title { font-size: 34px; }
.np-create .np-description { max-width: 200px; }
.np-create .np-cta { margin-top: 20px; }
.np-general { --np-size: 252px; --np-right: -10px; --np-bottom: -62px; }
.np-general .np-copy { max-width: 56%; }
.np-general .np-title { font-size: 30px; }
.np-general .np-description { max-width: 230px; font-size: 12px; }
.np-general .np-cta { margin-top: 14px; }
/* Ba thẻ nghề nghiệp dùng ảnh sản phẩm nền trắng, multiply để hoà vào màu thẻ. */
.np-product .np-pose { mix-blend-mode: multiply; }
/* Quầng sáng cam sau Nomi ở thẻ Chơi game, tạo điểm nhấn mà không thêm mascot. */
.np-play::before { content: ""; position: absolute; right: -40px; bottom: -60px; width: 420px; height: 420px; z-index: 0; border-radius: 50%; background: radial-gradient(circle, rgba(232,97,26,.42) 0%, rgba(232,97,26,.14) 45%, rgba(232,97,26,0) 70%); pointer-events: none; }
@media (max-width: 759px) { .np-play::before { right: -30px; bottom: -40px; width: 250px; height: 250px; background: radial-gradient(circle, rgba(232,97,26,.32) 0%, rgba(232,97,26,.1) 45%, rgba(232,97,26,0) 70%); } }
.np-work .np-product { --np-size: 290px; --np-right: -4px; --np-bottom: -44px; }
.np-enterprise .np-product { --np-size: 175px; --np-right: -4px; --np-bottom: -6px; }
.np-create .np-product { --np-size: 305px; --np-right: -8px; --np-bottom: 30px; }
.np-general .np-product { --np-size: 218px; --np-right: -2px; --np-bottom: -10px; }
@media (min-width: 760px) and (max-width: 1099px) {
  .np-work .np-product { --np-size: 255px; --np-right: -6px; --np-bottom: -40px; }
  .np-enterprise .np-product { --np-size: 112px; --np-right: -8px; --np-bottom: -8px; }
  .np-create .np-product { --np-size: 215px; --np-right: -6px; --np-bottom: 24px; }
  .np-general .np-product { --np-size: 175px; --np-right: -10px; --np-bottom: -6px; }
}
@media (max-width: 759px) {
  .np-work .np-product { --np-size: 175px; --np-right: -6px; --np-bottom: -20px; }
  .np-enterprise .np-product { --np-size: 125px; --np-right: 4px; --np-bottom: -4px; }
  .np-create .np-product { --np-size: 178px; --np-right: -6px; --np-bottom: 30px; }
  .np-general .np-product { --np-size: 190px; --np-right: -4px; --np-bottom: -8px; }
}
.np-card:hover, .np-card:focus-visible { border-color: #e8611a; box-shadow: 0 7px 22px rgba(70,45,24,.08); }
.np-card:focus-visible { outline: 3px solid #e8611a; outline-offset: 3px; }
.np-card:hover .np-cta .ic, .np-card:focus-visible .np-cta .ic { transform: translateX(4px); }
.np-card.is-revealed { animation: np-enter .42s ease-out var(--np-entry-delay, 0ms) backwards; }
@keyframes np-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (min-width: 760px) and (max-width: 1099px) {
  .np-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 228px 112px 184px; }
  .np-play, .np-general { grid-column: 1 / 6; }
  .np-work, .np-enterprise { grid-column: 6 / 10; }
  .np-create { grid-column: 10 / 13; }
  .np-card { padding: 22px; }
  .np-play { --np-size: 285px; --np-right: -36px; --np-bottom: -55px; }
  .np-play .np-title { font-size: 34px; }
  .np-work { --np-size: 160px; --np-right: -22px; --np-bottom: -2px; }
  .np-work .np-copy { max-width: 57%; }
  .np-work .np-title { font-size: 25px; }
  .np-work .np-description { font-size: 11px; }
  .np-enterprise { --np-size: 175px; --np-right: -10px; --np-bottom: -2px; }
  .np-enterprise .np-title { font-size: 27px; }
  .np-enterprise .np-description { max-width: 65%; font-size: 12px; }
  .np-create { --np-size: 285px; --np-right: -40px; --np-bottom: 32px; }
  .np-create .np-title { font-size: 30px; }
  .np-general { --np-size: 170px; --np-right: -20px; --np-bottom: -2px; }
  .np-general .np-title { font-size: 25px; }
  .np-general .np-copy { max-width: 58%; }
  .np-general .np-description { max-width: 145px; }
}
@media (max-width: 759px) {
  .nomi-personas-section { margin-top: 20px; }
  .np-heading { align-items: start; flex-wrap: wrap; gap: 2px; margin-bottom: 12px; }
  .np-heading h2 { font-size: 23px; }
    .np-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 276px 270px 290px 192px; gap: 12px; }
  .np-card { border-radius: 17px; padding: 19px; }
  .np-kicker { margin-bottom: 7px; font-size: 9px; letter-spacing: 1.1px; }
  .np-title { font-size: 25px; }
  .np-description { margin-top: 7px; font-size: 12px; }
  .np-cta { margin-top: 12px; font-size: 11px; gap: 5px; }
  .np-cta .ic { width: 13px; height: 13px; }
  .np-play { grid-column: 1 / 3; grid-row: 1; --np-size: 270px; --np-right: -38px; --np-bottom: -75px; }
  .np-play .np-title { font-size: 34px; }
  .np-play .np-copy { max-width: 46%; }
  .np-play .np-description { max-width: 125px; }
  .np-play .np-cta { margin-top: 20px; }
  .np-work { grid-column: 2; grid-row: 2; --np-size: 145px; --np-right: -3px; --np-bottom: -4px; padding: 16px; }
  .np-work .np-copy { max-width: 100%; }
  .np-work .np-title { font-size: 23px; }
  .np-work .np-description { font-size: 11px; line-height: 1.4; }
  .np-work .np-cta { margin-top: 9px; font-size: 10px; }
  .np-enterprise { grid-column: 2; grid-row: 3; --np-size: 155px; --np-right: -5px; --np-bottom: -14px; padding: 16px; }
  .np-enterprise .np-title { font-size: 22px; }
  .np-enterprise .np-description { font-size: 11px; line-height: 1.4; }
  .np-enterprise .np-cta { margin-top: 9px; font-size: 10px; }
  .np-create { grid-column: 1; grid-row: 2 / 4; --np-size: 252px; --np-right: -48px; --np-bottom: 13px; }
  .np-create .np-title { font-size: 26px; }
  .np-create .np-description { font-size: 12px; }
  .np-create .np-cta { margin-top: 15px; }
  .np-general { grid-column: 1 / 3; grid-row: 4; --np-size: 185px; --np-right: -5px; --np-bottom: -7px; }
  .np-general .np-copy { max-width: 52%; }
  .np-general .np-title { font-size: 27px; }
  .np-general .np-description { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .np-card.is-revealed { animation: none; }
  .np-card, .np-cta .ic { transition: none; }
  }
@media print { .nomi-personas-section { display: none !important; } }

/* Thu cũ lên đời: thẻ Nomi theo cuộn cạnh form, bố cục lấp khoảng trống và chuyển động nhẹ. */
.tc-buoc { position: relative; }
.tc-buoc li:nth-child(1) { --n: 0; } .tc-buoc li:nth-child(2) { --n: 1; } .tc-buoc li:nth-child(3) { --n: 2; }

.dv-doi-cu-len-doi .tc-trai { align-self: stretch; display: flex; flex-direction: column; min-width: 0; }
.tc-nomi-card { position: sticky; top: calc(96px + var(--note-h, 0px)); margin-top: 28px; display: flex; align-items: center; gap: 20px; padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.tc-nomi-card .nomi-v1 { --nomi-size: 156px; }
.tc-nomi-card strong { display: block; font-size: 16px; }
.tc-nomi-card p { margin: 4px 0 10px; font-size: 13.5px; line-height: 1.55; color: var(--text2); }
.tc-nomi-meo { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 5px; font-size: 13px; line-height: 1.45; color: var(--text2); }
.tc-nomi-meo li { position: relative; padding-left: 18px; }
.tc-nomi-meo li::before { content: '✓'; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.tc-tong { border-radius: 6px; }

.tc-tab button { transition: background-color .25s, color .25s, border-color .25s, transform .2s; }
.tc-tab button:hover { border-color: var(--orange); transform: translateY(-1px); }
.tc-tab-noi { align-items: stretch; }
.tc-tab-noi img { height: auto; min-height: 300px; max-height: 360px; align-self: stretch; }
.tc-the-ds { display: grid; gap: 14px; align-content: center; }
.tc-the { padding: 18px 22px; border: 1px solid; border-radius: var(--radius); }
.tc-the-co { background: #f3f9f2; border-color: #cfe5cb; }
.tc-the-khong { background: #fbf4f2; border-color: #ecd4cd; }
.tc-tab-noi .tc-the ul { margin: 12px 0 0; gap: 8px; }
.tc-tab-noi .tc-the li { padding-left: 22px; }
.tc-tab-noi .tc-the li::before { top: 0; width: auto; height: auto; background: none; border-radius: 0; font-weight: 700; font-size: 14px; line-height: 1.5; }
.tc-the-co li::before { content: '✓'; color: #2e7d32; }
.tc-the-khong li::before { content: '✕'; color: #b3402a; }
.tc-tab-noi li:nth-child(2) { --li: 1; } .tc-tab-noi li:nth-child(3) { --li: 2; }

.tc-hoi-luoi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 56px; align-items: start; }
.tc-hoi-cot { min-width: 0; border-top: 1px solid var(--line); }
.tc-hoi-cot details { transition: background-color .2s; }
.tc-hoi-cot summary:hover { color: var(--orange); }
.tc-hoi-nomi { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.tc-hoi-nomi .nomi-v1 { --nomi-size: 112px; }
.tc-hoi-nomi p { margin: 4px 0 0; font-size: 14px; line-height: 1.55; color: var(--text2); }

.dv-khoi.tc-cuoi-khoi { padding-top: 96px; padding-bottom: 64px; }
.tc-cuoi { position: relative; padding: 28px 36px 28px 232px; gap: 28px; }
.tc-cuoi strong { font-size: 22px; line-height: 1.3; }
.tc-cuoi-nomi { position: absolute; left: 30px; bottom: 0; }
.tc-cuoi-nomi .nomi-v1 { --nomi-size: 204px; }
.tc-cuoi .btn { flex-shrink: 0; }

.tc-dong .tc-cho { opacity: 0; transform: translateY(18px); transition: opacity .6s ease var(--tre, 0ms), transform .7s cubic-bezier(.22,1,.36,1) var(--tre, 0ms); }
.tc-dong .tc-cho.tc-hien { opacity: 1; transform: none; }
.tc-nay { animation: tc-nay 1s ease-out; }
.tc-no { animation: tc-no .6s cubic-bezier(.22,1,.36,1); }
@keyframes tc-nay { from { background-color: rgba(232,97,26,.16); } to { background-color: rgba(232,97,26,0); } }
@keyframes tc-no { 0% { transform: scale(.985); box-shadow: 0 0 0 0 rgba(232,97,26,.35); } 100% { transform: none; box-shadow: 0 0 0 14px rgba(232,97,26,0); } }
@media (prefers-reduced-motion: no-preference) {
    .tc-doi-tab .tc-tab-noi:not([hidden]) > img { animation: tc-anh-vao .55s cubic-bezier(.22,1,.36,1); }
  .tc-doi-tab .tc-tab-noi:not([hidden]) .tc-the { animation: tc-the-vao .5s cubic-bezier(.22,1,.36,1) both; }
  .tc-doi-tab .tc-tab-noi:not([hidden]) .tc-the-khong { animation-delay: .12s; }
  .tc-doi-tab .tc-tab-noi:not([hidden]) li { animation: tc-li-vao .4s ease both; animation-delay: calc(.18s + var(--li, 0) * 70ms); }
}
@keyframes tc-anh-vao { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes tc-the-vao { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@keyframes tc-li-vao { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .tc-nomi-card { position: static; margin-top: 22px; gap: 14px; padding: 16px; }
  .tc-nomi-card .nomi-v1 { --nomi-size: 104px; }
  .tc-tab-noi img { min-height: 0; max-height: 240px; }
  .tc-hoi-luoi { grid-template-columns: minmax(0, 1fr); }
  .tc-hoi-cot + .tc-hoi-cot { border-top: 0; }
  .tc-hoi-nomi .nomi-v1 { --nomi-size: 88px; }
}
@media (max-width: 760px) {
        .dv-khoi.tc-cuoi-khoi { padding-top: 24px; padding-bottom: 40px; }
  .tc-cuoi { flex-direction: column; align-items: center; text-align: center; padding: 20px 20px 24px; gap: 14px; }
  .tc-cuoi-nomi { position: static; }
  .tc-cuoi-nomi .nomi-v1 { --nomi-size: 120px; }
  .tc-cuoi strong { font-size: 18px; }
}
@media print { .tc-nomi-card, .tc-hoi-nomi, .tc-cuoi-nomi { display: none !important; } }

/* Quy trình thu cũ: icon tự vẽ nét + tia sáng chạy qua dải 3 bước, và đường ray cuộn theo ở phần quy trình. */
.tc-ic { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tc-ic path, .tc-ic circle { stroke-dasharray: 1; stroke-dashoffset: 0; }
.tc-buoc b { width: 42px; height: 42px; background: var(--orange); border: 2px solid var(--orange); color: #fff; transition: background-color .4s ease, border-color .4s ease, color .4s ease; }
.tc-buoc b .tc-ic { width: 22px; height: 22px; }
.tc-buoc em { display: block; margin-bottom: 2px; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange); }
.tc-buoc::before { content: ''; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 3px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.tc-buoc::after { content: ''; position: absolute; z-index: 2; top: 0; left: -120px; width: 120px; height: 3px; background: linear-gradient(90deg, transparent, var(--orange)); opacity: 0; }
.tc-dong .tc-buoc b { background: #fff; border-color: var(--line); color: var(--text3); }
.tc-dong .tc-buoc li { opacity: .5; transition: opacity .5s ease; }
.tc-dong .tc-buoc .tc-ic path, .tc-dong .tc-buoc .tc-ic circle { stroke-dashoffset: 1; }
.tc-buoc-chay::after { animation: tc-tia 1.9s cubic-bezier(.45,0,.25,1) both; }
.tc-dong .tc-buoc.tc-buoc-chay li { opacity: 1; transition-delay: calc(var(--n) * .6s + .2s); }
.tc-dong .tc-buoc.tc-buoc-chay li b { background: var(--orange); border-color: var(--orange); color: #fff; transition-delay: calc(var(--n) * .6s + .2s); }
.tc-buoc.tc-buoc-chay .tc-ic path, .tc-buoc.tc-buoc-chay .tc-ic circle { animation: tc-ve .8s ease calc(var(--n) * .6s + .25s) both; }
@keyframes tc-tia { 0% { left: -120px; opacity: 1; } 100% { left: 100%; opacity: 1; } }
@keyframes tc-ve { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.tc-qt-khoi { padding-top: 44px; padding-bottom: 8px; }
.tc-ray { --p: 0; list-style: none; margin: 22px 0 0; padding: 30px 0 0; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.tc-ray::before, .tc-ray::after { content: ''; position: absolute; left: 10%; right: 10%; top: 11px; height: 2px; }
.tc-ray::before { background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 13px); }
.tc-ray::after { background: linear-gradient(90deg, var(--orange-light), var(--orange)); border-radius: 2px; transform: scaleX(var(--p)); transform-origin: 0 50%; box-shadow: 0 0 10px 1px rgba(232,97,26,.45); }
.tc-ray-buoc { position: relative; display: flex; flex-direction: column; min-width: 0; }
.tc-ray-nut { position: absolute; z-index: 1; left: 50%; top: -24px; width: 12px; height: 12px; margin-left: -6px; border: 2px solid var(--line); border-radius: 3px; background: #fff; transform: rotate(45deg); transition: background-color .35s, border-color .35s, transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .35s; }
.tc-ray-so { order: -1; margin: 0 0 8px; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 1.6px; color: var(--text3); transition: color .35s; }
.tc-ray-the { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .35s, box-shadow .35s, transform .5s cubic-bezier(.22,1,.36,1); }
.tc-ray-the h3 { font-size: 15px; line-height: 1.3; margin: 0 0 4px; }
.tc-ray-the p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text2); }
.tc-ray-ic { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #fdeee4; color: var(--orange); }
.tc-ray-ic .tc-ic { width: 18px; height: 18px; }
.tc-ray-buoc.tc-on .tc-ray-nut { background: var(--orange); border-color: var(--orange); transform: rotate(45deg) scale(1.2); }
.tc-ray-buoc.tc-on .tc-ray-so { color: var(--orange); }
.tc-ray-buoc.tc-on .tc-ray-the { border-color: #f1c4a6; transform: translateY(-4px); box-shadow: 0 10px 24px rgba(232,97,26,.1); }
.tc-ray-buoc.tc-now .tc-ray-nut { box-shadow: 0 0 0 5px rgba(232,97,26,.16); }
.tc-dong .tc-ray-the { opacity: .35; }
.tc-dong .tc-ray-buoc.tc-on .tc-ray-the { opacity: 1; }
.tc-dong .tc-ray-the { transition: opacity .5s ease, border-color .35s, box-shadow .35s, transform .5s cubic-bezier(.22,1,.36,1); }
.tc-dong .tc-ray-ic .tc-ic path, .tc-dong .tc-ray-ic .tc-ic circle { stroke-dashoffset: 1; }
.tc-ray-buoc.tc-on .tc-ray-ic .tc-ic path, .tc-ray-buoc.tc-on .tc-ray-ic .tc-ic circle { animation: tc-ve .8s ease .15s both; }
@media (max-width: 900px) {
  .tc-buoc::after { display: none; }
  .tc-ray { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 0 0 0 30px; }
  .tc-ray::before, .tc-ray::after { left: 8px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; }
  .tc-ray::before { background: repeating-linear-gradient(var(--line) 0 8px, transparent 8px 13px); }
  .tc-ray::after { transform: scaleY(var(--p)); transform-origin: 50% 0; }
  .tc-ray-nut { left: -23px; top: 26px; margin-left: 0; }
  .tc-ray-so { text-align: left; margin-bottom: 4px; }
  .tc-ray-the { flex-direction: row; align-items: flex-start; gap: 12px; }
}

/* Doanh nghiệp: quy trình dạng danh sách bước + khung chi tiết, thanh tiến độ dọc tự chạy từng bước. */
.dn-qt { display: block; }
.dn-qt-ds { display: none; list-style: none; margin: 0; padding: 0; }
.dn-qt-khung { display: grid; gap: 16px; }
.dn-qt-noi { position: relative; overflow: hidden; padding: 32px 38px 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.dn-qt-noi[hidden] { display: none; }
.dn-qt-so { position: absolute; right: 26px; top: -4px; font-size: 150px; line-height: 1; font-weight: 800; letter-spacing: -6px; color: rgba(232,97,26,.09); pointer-events: none; user-select: none; }
.dn-qt-noi > *:not(.dn-qt-so) { position: relative; }
.dn-qt-buoc { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--orange); }
.dn-qt-noi h3 { margin: 0 0 12px; font-size: 24px; line-height: 1.25; letter-spacing: -.4px; }
.dn-qt-mota { margin: 0; max-width: 560px; font-size: 15px; line-height: 1.7; color: var(--text2); }
.dn-qt-the { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dn-qt-the li { padding: 8px 14px; border: 1px solid #f1c4a6; border-radius: 999px; background: #fff8f3; font-size: 13.5px; font-weight: 600; color: #7a3a14; }
.dn-qt-the li:nth-child(1) { --k: 0; } .dn-qt-the li:nth-child(2) { --k: 1; } .dn-qt-the li:nth-child(3) { --k: 2; } .dn-qt-the li:nth-child(4) { --k: 3; } .dn-qt-the li:nth-child(5) { --k: 4; }
.dn-qt.dn-js { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.dn-qt.dn-js .dn-qt-ds { display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.dn-qt-ds li { position: relative; }
.dn-qt-ds li::before, .dn-qt-ds li::after { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; }
.dn-qt-ds li::before { background: var(--line); }
.dn-qt-ds li::after { background: var(--orange); transform: scaleY(0); transform-origin: 50% 0; }
.dn-qt-ds li.on::after { transform: scaleY(1); }
.dn-qt-nut { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 16px 16px 24px; border: 0; border-radius: var(--radius); background: transparent; font: inherit; font-size: 16px; font-weight: 600; color: var(--text2); text-align: left; cursor: pointer; transition: background-color .25s, color .25s, transform .25s cubic-bezier(.22,1,.36,1); }
.dn-qt-nut b { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--soft); color: var(--text3); font-size: 13px; transition: background-color .25s, color .25s; }
.dn-qt-nut:hover { background: var(--soft); transform: translateX(3px); }
.dn-qt-ds li.on .dn-qt-nut { color: var(--black); }
.dn-qt-ds li.on .dn-qt-nut b { background: var(--orange); color: #fff; }
.dn-qt-nut:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.dn-chay:not(.dn-tay) .dn-qt-ds li.on::after { animation: dn-qt-day 6.5s linear both; }
.dn-chay.dn-dung:not(.dn-tay) .dn-qt-ds li.on::after { animation-play-state: paused; }
@keyframes dn-qt-day { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: no-preference) {
  .dn-js .dn-qt-noi:not([hidden]) { animation: dn-qt-vao .5s cubic-bezier(.22,1,.36,1); }
  .dn-js .dn-qt-noi:not([hidden]) .dn-qt-so { animation: dn-qt-so .7s cubic-bezier(.22,1,.36,1); }
  .dn-js .dn-qt-noi:not([hidden]) .dn-qt-the li { animation: dn-qt-the .45s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(.18s + var(--k, 0) * 70ms); }
}
@keyframes dn-qt-vao { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes dn-qt-so { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes dn-qt-the { from { opacity: 0; transform: translateY(8px) scale(.94); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .dn-qt.dn-js { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .dn-qt.dn-js .dn-qt-ds { flex-direction: row; justify-content: flex-start; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .dn-qt-ds li { flex: 0 0 auto; }
  .dn-qt-ds li::before, .dn-qt-ds li::after { left: 10px; right: 10px; top: auto; bottom: 0; width: auto; height: 3px; }
  .dn-qt-ds li::after { transform: scaleX(0); transform-origin: 0 50%; }
  .dn-qt-ds li.on::after { transform: scaleX(1); }
  .dn-qt-nut { padding: 12px 16px 14px; font-size: 14px; }
  .dn-qt-nut b { width: 30px; height: 30px; }
  .dn-qt-noi { padding: 24px 20px 26px; }
  .dn-qt-noi h3 { font-size: 20px; }
  .dn-qt-so { font-size: 100px; right: 12px; }
  @keyframes dn-qt-day { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
