/* Trang giới thiệu SotaOS – phong cách biên tập kỹ thuật.
   Nguyên tắc: chữ là chủ đạo, đường kẻ mảnh làm cấu trúc, một màu nhấn (xanh SotaTek), không gradient trang trí,
   hình minh họa là giao diện sản phẩm thật, chuyển động chỉ để kể quy trình. Màu vàng chỉ dùng trong giao diện
   sản phẩm để đánh dấu nội dung do AI tạo (đúng quy ước design system Sota/NoteX). */

:root {
  --bg: #ffffff;
  --alt: #f7f7f5;
  --ink: #0a0a0b;
  --ink-2: #2b2e35;
  --mut: #5e636c;
  --sub: #8c9199;
  --line: #e6e6e2;
  --line-2: #d4d4cf;
  --blue: #036ae5;
  --blue-ink: #0256bb;
  --blue-soft: #eaf2fd;
  --ai-bg: #fff3df;
  --ai: #9a5b00;
  --ok: #0e7a4b;
  --ok-bg: #e7f5ee;
  --warn: #8a5a00;
  --warn-bg: #fff2cf;
  --d-bg: #0b0c0e;
  --d-bg-2: #111215;
  --d-line: #24262b;
  --d-ink: #edeef0;
  --d-mut: #9aa0aa;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --hand: 'Dancing Script', 'Segoe Script', 'Bradley Hand', cursive;
  --serif: 'Times New Roman', Times, 'Liberation Serif', serif;
  --w: 1240px;
  --g: 32px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
html:lang(ja) { --sans: 'Inter', 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', Meiryo, system-ui, sans-serif; }
html:lang(ko) { --sans: 'Inter', 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
html:lang(ja) body { line-break: strict; }
html:lang(ja) :is(h1, h2, h3, p, dd, li) { word-break: auto-phrase; }
html:lang(ko) body { word-break: keep-all; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
em { font-style: normal; }
::selection { background: #036ae52e; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 10px; }
.i { width: 18px; height: 18px; flex: none; }
.i-sm { width: 16px; height: 16px; }
.i-xs { width: 13px; height: 13px; }
.arr { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.fine { margin-top: 20px; font-size: 13px; color: var(--sub); }

/* Khung: hai đường dọc ở mép nội dung chạy suốt trang */
.wrap { position: relative; max-width: calc(var(--w) + var(--g) * 2); margin: 0 auto; padding: 0 var(--g); }
@media (min-width: 1320px) {
  .sec .wrap::before, .sec .wrap::after, .hero .wrap::before, .hero .wrap::after, .proof .wrap::before, .proof .wrap::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); pointer-events: none;
  }
  .sec .wrap::before, .hero .wrap::before, .proof .wrap::before { left: 0; }
  .sec .wrap::after, .hero .wrap::after, .proof .wrap::after { right: 0; }
  .sec-dark .wrap::before, .sec-dark .wrap::after { background: var(--d-line); }
}

/* ---------- Nút ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid transparent; font-size: 14.5px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-lg { height: 48px; padding: 0 20px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #26282d; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #e9e9e6; }
.btn-line-light { background: transparent; color: #fff; border-color: #ffffff47; }
.btn-line-light:hover { border-color: #fff; }

/* ---------- Thanh điều hướng ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: #fffffff2; backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.logo-mark { width: 15px; height: 20px; fill: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a:not(.btn) { padding: 6px 10px; border-radius: 6px; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.nav-links a:not(.btn):hover { color: var(--ink); background: var(--alt); }
.nav-links .only-mobile, .nav-links .only-mobile-btn { display: none; }
.nav-act { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-btn { height: 36px; padding: 0 14px; font-size: 14px; }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 6px; cursor: pointer; font: 500 12.5px var(--mono); color: var(--ink-2); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--alt); }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); min-width: 160px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 16px 40px -16px #0a0a0b40; }
.lang li a { display: block; padding: 8px 10px; border-radius: 6px; font-size: 14px; }
.lang li a:hover { background: var(--alt); }
.lang li a[aria-current] { color: var(--blue); font-weight: 500; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 16px; height: 1.5px; background: var(--ink); transition: transform .2s var(--ease); }
.nav-open .nav-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero-in { padding-top: clamp(56px, 8vw, 104px); padding-bottom: 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px var(--mono); letter-spacing: .02em; color: var(--mut); text-transform: uppercase; }
html:lang(ja) .eyebrow, html:lang(ko) .eyebrow { text-transform: none; }
.eb-mark { width: 8px; height: 8px; background: var(--blue); }
.display { margin-top: 24px; font-size: clamp(42px, 7.2vw, 96px); line-height: 1.02; font-weight: 600; letter-spacing: -.045em; max-width: 13.5em; text-wrap: balance; }
html:lang(vi) .display { line-height: 1.08; letter-spacing: -.04em; }
html:lang(ja) .display, html:lang(ko) .display { font-size: clamp(34px, 5.6vw, 72px); line-height: 1.2; letter-spacing: -.02em; }
.display em { color: var(--mut); }
.hero-row { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.hero-lead { max-width: 60ch; font-size: clamp(17px, 1.45vw, 19px); line-height: 1.6; color: var(--mut); }
.hero-cta { display: grid; gap: 10px; justify-items: end; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-try { font-size: 13px; color: var(--sub); }
.hero-note { margin-top: 20px; font-size: 13.5px; color: var(--sub); }

/* Màn hình sản phẩm */
.app { margin-top: clamp(40px, 5vw, 64px); background: #fff; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 0 #0a0a0b05, 0 48px 96px -48px #0a0a0b47; }
.app-bar { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #fcfcfb; font-size: 13px; }
.app-mark .logo-mark { width: 11px; height: 15px; }
.app-crumbs { color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.app-chip { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font-size: 12px; font-weight: 500; white-space: nowrap; }
.app-body { display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); min-height: 540px; }
.app-scan { position: relative; padding: 22px 28px 28px; background: #efefec; border-right: 1px solid var(--line); overflow: hidden; }
.pane-label { font: 500 11px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--sub); margin-bottom: 14px; }

.doc { position: relative; margin: 0 auto; max-width: 430px; aspect-ratio: 1 / 1.28; padding: 26px 26px 22px; background: #fff; color: #1b1b1b; font: 10.5px/1.45 var(--serif); box-shadow: 0 1px 2px #0000000f, 0 18px 36px -18px #0000004d; transform: rotate(-.6deg); overflow: hidden; }
.doc-head { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; text-align: center; }
.doc-org b, .doc-nat b { display: block; font-size: 9.5px; letter-spacing: .01em; }
.doc-nat span { display: block; font-weight: 700; font-size: 10px; }
.doc-head i { display: block; width: 46%; height: 1px; margin: 3px auto 6px; background: #1b1b1b; }
.doc-org span { display: inline-block; font-size: 10px; }
.doc-org small { display: block; margin-top: 3px; font-size: 9px; font-style: italic; line-height: 1.3; }
.doc-nat em { display: inline-block; font-style: italic; font-size: 9.5px; }
.doc-urgent { margin-top: 10px; display: inline-block; padding: 1px 6px; border: 1.5px solid #b42318; color: #b42318; font-weight: 700; font-size: 10px; letter-spacing: .08em; transform: rotate(-4deg); }
.doc-to { margin-top: 10px; text-align: center; font-weight: 700; }
.doc-lines { margin-top: 8px; display: grid; gap: 6px; }
.doc-lines i { display: block; height: 4px; width: 100%; background: #e7e7e4; border-radius: 2px; }
.doc-text { margin-top: 8px; display: inline-block; font-size: 10.5px; }
.doc-thanks { margin-top: 8px; padding-left: 24px; font-size: 10px; }
.doc-recv { position: absolute; left: 26px; bottom: 22px; display: grid; font-size: 8.5px; line-height: 1.35; }
.doc-recv b { font-style: italic; }
.doc-sign { position: absolute; right: 30px; bottom: 26px; display: grid; justify-items: center; gap: 30px; font-size: 10px; }
.doc-name { font-weight: 700; }
.stamp { position: absolute; top: 16px; left: 50%; width: 62px; height: 62px; margin-left: -74px; border: 2px solid #c8281ebf; border-radius: 50%; display: grid; place-items: center; color: #c8281ebf; transform: rotate(-14deg); }
.stamp i { font-style: normal; font: 700 8px var(--sans); letter-spacing: .1em; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; padding: 1px 3px; }
.doc-hand { position: absolute; left: 20px; bottom: 74px; padding: 4px 6px; font: 600 15px/1.12 var(--hand); color: #1d4ed8; transform: rotate(-5deg); }
.doc-hand span { display: block; text-align: right; font-size: 16px; }
.doc-scanline { position: absolute; left: 0; right: 0; top: 0; height: 40px; background: linear-gradient(180deg, transparent, #036ae514 85%, #036ae5); opacity: 0; pointer-events: none; z-index: 2; }
.hl { border-radius: 3px; }

.app-form { padding: 22px 28px 24px; display: flex; flex-direction: column; min-width: 0; }
.form-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.form-title { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.form-sub { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ai); }
.ai-dot { width: 7px; height: 7px; border-radius: 2px; background: #f0a33c; }
.fields { margin-top: 14px; border-top: 1px solid var(--line); }
.fld { display: grid; grid-template-columns: 128px minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); }
.fld dt { font-size: 12.5px; color: var(--mut); }
.fld dd { display: flex; align-items: baseline; gap: 8px; font-size: 14px; font-weight: 500; min-width: 0; }
.fld dd span { overflow: hidden; text-overflow: ellipsis; }
.fld dd b { flex: none; font: 500 10.5px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--warn); background: var(--warn-bg); padding: 1px 6px; border-radius: 4px; }
html:lang(ja) .fld dd b, html:lang(ko) .fld dd b { text-transform: none; }
.fld small { font: 400 11px var(--mono); color: var(--sub); white-space: nowrap; }
.fld-check { background: linear-gradient(90deg, #fff8e6, transparent 70%); }
.route { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fcfcfb; }
.route-title { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--sub); }
html:lang(ja) .route-title, html:lang(ko) .route-title { text-transform: none; }
.route-quote { margin-top: 6px; font: 600 16px/1.25 var(--hand); color: #1d4ed8; }
.route dl { margin-top: 10px; display: grid; gap: 6px; }
.route dl div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; font-size: 13.5px; }
.route dt { color: var(--mut); }
.route dd { font-weight: 500; }
.form-foot { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mbtn { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 500; }
.mbtn-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.form-foot p { flex-basis: 100%; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--sub); }
.app figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); background: #fcfcfb; font-size: 12px; color: var(--sub); }
.replay { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 4px 6px; border-radius: 6px; font: 500 12px var(--mono); color: var(--mut); cursor: pointer; }
.replay:hover { color: var(--ink); background: var(--alt); }

/* Kịch bản: quét → từng trường hiện kèm vùng nguồn trên bản quét → bút phê thành phân công → chờ xác nhận */
.app.play .doc-scanline { animation: scan 1.5s .3s var(--ease) both; }
.app.play .hl { animation: hl 1.4s calc(1.7s + var(--i) * .36s) both; }
.app.play .fld { animation: rise .45s calc(1.7s + var(--i) * .36s) var(--ease) both; }
.app.play .route { animation: rise .5s calc(1.7s + 8 * .36s) var(--ease) both; }
.app.play .route dl div { animation: rise .4s calc(4.8s + var(--j) * .22s) var(--ease) both; }
.app.play .form-foot { animation: rise .5s 5.6s var(--ease) both; }
.app.play .mbtn-ink { animation: ready 1.2s 6s both; }
@keyframes scan { 0% { top: -40px; opacity: 1; } 92% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes hl { 0% { background: transparent; box-shadow: none; } 25% { background: #036ae526; box-shadow: 0 0 0 1px #036ae599; } 100% { background: #036ae50f; box-shadow: 0 0 0 1px #036ae540; } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes ready { 0%, 100% { box-shadow: 0 0 0 0 #0a0a0b00; } 40% { box-shadow: 0 0 0 5px #036ae533; } }
.hl { background: #036ae50f; box-shadow: 0 0 0 1px #036ae540; }
.doc-hand.hl { background: #1d4ed80d; }

/* ---------- Số đo thật ---------- */
.proof { border-bottom: 1px solid var(--line); }
.proof .wrap { padding-top: 36px; padding-bottom: 32px; }
.proof-label { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--sub); }
html:lang(ja) .proof-label, html:lang(ko) .proof-label { text-transform: none; }
.proof-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof-grid div { padding: 4px 28px 4px 0; }
.proof-grid div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.proof-grid dt { font-size: clamp(32px, 3.4vw, 46px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.proof-grid dd { margin-top: 8px; font-size: 14px; color: var(--mut); line-height: 1.5; }

/* ---------- Mục chung ---------- */
.sec { border-bottom: 1px solid var(--line); }
.sec > .wrap { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); }
.sec-alt { background: var(--alt); }
.sec-dark { background: var(--d-bg); color: var(--d-ink); border-bottom-color: var(--d-line); }
.sh { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 56px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sh-label { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--mut); }
html:lang(ja) .sh-label, html:lang(ko) .sh-label { text-transform: none; letter-spacing: .02em; }
.sh-label span { color: var(--ink); padding-right: 12px; border-right: 1px solid var(--line-2); }
.sh-title { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
html:lang(vi) .sh-title { line-height: 1.14; }
html:lang(ja) .sh-title, html:lang(ko) .sh-title { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.3; letter-spacing: -.015em; }
.sh-lead { font-size: 17px; line-height: 1.6; color: var(--mut); max-width: 52ch; }
.sh-dark .sh-label { color: var(--d-mut); }
.sh-dark .sh-label span { color: #fff; border-color: var(--d-line); }
.sh-dark .sh-lead { color: var(--d-mut); }

.cells { display: grid; border-top: 1px solid var(--line); }
.cells-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cells-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cell { position: relative; padding: 28px 28px 32px; border-bottom: 1px solid var(--line); }
.cell:not(:first-child) { border-left: 1px solid var(--line); }
.cells-3 .cell:nth-child(3n + 1), .cells-4 .cell:nth-child(4n + 1) { border-left: 0; padding-left: 0; }
.cell-n { display: block; font: 500 12px var(--mono); color: var(--sub); margin-bottom: 18px; }
.cell h3 { font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; }
.cell p { margin-top: 10px; font-size: 15px; color: var(--mut); }
.tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 2px 8px; border: 1px solid var(--line-2); border-radius: 4px; font: 400 11.5px var(--mono); color: var(--ink-2); background: #fff; }

/* ---------- Cách vận hành (nền tối) ---------- */
.pipe { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--d-line); }
.pipe::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, #4d8fff, transparent); background-size: 30% 100%; background-repeat: no-repeat; animation: flow 5s linear infinite; }
@keyframes flow { from { background-position: -30% 0; } to { background-position: 130% 0; } }
.pipe li { position: relative; padding: 32px 24px 8px 0; }
.pipe li + li { padding-left: 24px; border-left: 1px solid var(--d-line); }
.pipe li::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--d-bg); border: 1px solid #5c6170; }
.pipe li + li::before { left: -5px; }
.pipe-n { display: block; font: 500 12px var(--mono); color: #6f9dff; margin-bottom: 14px; }
.pipe h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.pipe p { margin-top: 10px; font-size: 14.5px; color: var(--d-mut); }
.outs { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--d-line); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.outs p { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--d-mut); }
html:lang(ja) .outs p, html:lang(ko) .outs p { text-transform: none; }
.outs ul { display: flex; flex-wrap: wrap; gap: 8px; }
.outs li { padding: 7px 12px; border: 1px solid var(--d-line); border-radius: 6px; background: var(--d-bg-2); font: 400 13px var(--mono); color: var(--d-ink); }

/* ---------- Mức tự chủ ---------- */
.auto { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.auto fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.auto legend { padding: 0; margin-bottom: 14px; font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--sub); }
html:lang(ja) .auto legend, html:lang(ko) .auto legend { text-transform: none; }
/* legend của fieldset luôn nằm ở mép trên, nên phần đệm đặt ở lớp bọc ngoài */
.auto-side { padding: 24px; border-right: 1px solid var(--line); background: var(--alt); }
.auto-groups { display: grid; align-content: start; gap: 8px; }
.grp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; transition: border-color .2s; }
.grp:hover { border-color: var(--line-2); }
.grp-name { font-weight: 600; font-size: 15px; }
.grp-ex { grid-column: 1; font-size: 13px; color: var(--mut); }
.grp-cap { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 500 12px var(--mono); padding: 3px 8px; border-radius: 4px; background: var(--alt); color: var(--ink-2); }
input:checked + .grp { border-color: var(--ink); box-shadow: inset 3px 0 0 var(--blue); }
input:checked + .grp .grp-cap { background: var(--ink); color: #fff; }
input:focus-visible + .grp, input:focus-visible + .lv { outline: 2px solid var(--blue); outline-offset: 2px; }
.auto-main { padding: 24px 28px 28px; min-width: 0; }
.auto-levels { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.auto-levels legend { grid-column: 1 / -1; }
/* legend nằm ngoài luồng lưới của fieldset nên mốc 0 là đỉnh ô mã mức (cao 40px) */
.lv-track { position: absolute; left: 10%; right: 10%; top: 19px; height: 2px; background: var(--line); }
.lv-track i { position: absolute; inset: 0 auto 0 0; width: 50%; background: var(--ink); transition: width .35s var(--ease); }
.lv-track::after { content: ''; position: absolute; top: -7px; width: 2px; height: 16px; background: #b42318; left: 50%; transition: left .35s var(--ease); }
.lv { position: relative; display: grid; justify-items: center; gap: 8px; padding-bottom: 6px; text-align: center; cursor: pointer; }
.lv-code { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font: 500 13px var(--mono); transition: all .2s; }
.lv-name { font-size: 13px; line-height: 1.3; color: var(--ink-2); }
.lv:hover .lv-code { border-color: var(--ink); }
input:checked + .lv .lv-code { background: var(--ink); border-color: var(--ink); color: #fff; }
/* mức vượt trần của nhóm đang chọn: gạch chéo */
.auto:has(#risk-med:checked) .lv-4 .lv-code, .auto:has(#risk-high:checked) :is(.lv-3, .lv-4) .lv-code { background: repeating-linear-gradient(135deg, #fff 0 4px, #f0f0ec 4px 8px); color: var(--sub); border-style: dashed; }
.auto:has(#risk-med:checked) .lv-4 .lv-name, .auto:has(#risk-high:checked) :is(.lv-3, .lv-4) .lv-name { color: var(--sub); }
.auto:has(#risk-med:checked) input:checked + .lv-4 .lv-code, .auto:has(#risk-high:checked) input:checked + :is(.lv-3, .lv-4) .lv-code { border-color: #b42318; color: #b42318; }
.auto:has(#lvl-0:checked) .lv-track i { width: 0; }
.auto:has(#lvl-1:checked) .lv-track i { width: 25%; }
.auto:has(#lvl-2:checked) .lv-track i { width: 50%; }
.auto:has(#lvl-3:checked) .lv-track i { width: 75%; }
.auto:has(#lvl-4:checked) .lv-track i { width: 100%; }
/* thanh tiến độ không vượt trần của nhóm đang chọn */
.auto:has(#risk-med:checked):has(#lvl-4:checked) .lv-track i { width: 75%; }
.auto:has(#risk-high:checked):is(:has(#lvl-3:checked), :has(#lvl-4:checked)) .lv-track i { width: 50%; }
.auto:has(#risk-low:checked) .lv-track::after { left: 100%; }
.auto:has(#risk-med:checked) .lv-track::after { left: 75%; }
.auto:has(#risk-high:checked) .lv-track::after { left: 50%; }
.auto-panels { margin-top: 20px; }
.ap { display: none; padding: 20px 22px; border: 1px solid var(--line); border-radius: 10px; animation: rise .3s var(--ease) both; }
.auto:has(#lvl-0:checked) [data-panel="0"], .auto:has(#lvl-1:checked) [data-panel="1"], .auto:has(#lvl-2:checked) [data-panel="2"],
.auto:has(#lvl-3:checked) [data-panel="3"], .auto:has(#lvl-4:checked) [data-panel="4"] { display: block; }
.auto:has(#risk-med:checked):has(#lvl-4:checked) [data-panel="4"],
.auto:has(#risk-high:checked):has(#lvl-3:checked) [data-panel="3"],
.auto:has(#risk-high:checked):has(#lvl-4:checked) [data-panel="4"] { display: none; }
.auto:has(#risk-med:checked):has(#lvl-4:checked) [data-locked="med"],
.auto:has(#risk-high:checked):is(:has(#lvl-3:checked), :has(#lvl-4:checked)) [data-locked="high"] { display: block; }
.ap-desc { font-size: 16.5px; line-height: 1.55; color: var(--ink-2); }
.ap-cols { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
.ap-cols > div { padding-top: 16px; }
.ap-cols > div + div { padding-left: 22px; margin-left: 22px; border-left: 1px solid var(--line); }
.ap-h { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--sub); margin-bottom: 10px; }
html:lang(ja) .ap-h, html:lang(ko) .ap-h { text-transform: none; }
.ap ol { display: grid; gap: 7px; counter-reset: s; }
.ap ol li { position: relative; padding-left: 26px; font-size: 14.5px; counter-increment: s; }
.ap ol li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 2px; font: 500 11px var(--mono); color: var(--sub); }
.ap-human { font-size: 14.5px; font-weight: 500; }
.ap-locked { border-color: #f1c6c1; background: #fdf6f5; }
.ap-lock-t { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: #b42318; }
html:lang(ja) .ap-lock-t, html:lang(ko) .ap-lock-t { text-transform: none; }
.auto-foot { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.auto-foot li { padding: 16px 24px; font-size: 13.5px; color: var(--mut); }
.auto-foot li + li { border-left: 1px solid var(--line); }

/* ---------- Danh sách khác biệt ---------- */
.usp-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 1px solid var(--line); }
.usp-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.usp-id { font: 500 12.5px var(--mono); color: var(--blue); padding-top: 3px; }
.usp-list h3 { font-size: 18px; font-weight: 600; letter-spacing: -.012em; line-height: 1.35; }
.usp-list p { margin-top: 8px; font-size: 15px; color: var(--mut); }
.st { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 4px; font: 500 11px var(--mono); letter-spacing: .02em; white-space: nowrap; align-self: start; }
.st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-soon { color: var(--mut); background: var(--alt); border: 1px solid var(--line); }

/* ---------- Nền tảng ---------- */
.mods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.mods li { padding: 20px 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .2s; }
.mods li:hover { background: #fcfcfb; }
.mod-code { display: block; font: 500 11.5px var(--mono); color: var(--blue); letter-spacing: .04em; margin-bottom: 12px; }
.mods h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.mods p { margin-top: 6px; font-size: 14px; color: var(--mut); line-height: 1.5; }
.integ { margin-top: 40px; }
.integ-label { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--sub); margin-bottom: 14px; }
html:lang(ja) .integ-label, html:lang(ko) .integ-label { text-transform: none; }
.integ ul { display: flex; flex-wrap: wrap; gap: 8px; }
.integ li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; font-size: 14px; }
.integ .st { height: 20px; font-size: 10.5px; }

/* ---------- Bảo mật ---------- */
.deploy .cell-n { font: 600 20px var(--sans); letter-spacing: -.02em; color: var(--ink); margin-bottom: 10px; }
.cell-badge { position: absolute; top: 30px; right: 24px; font: 500 11px var(--mono); padding: 2px 8px; border-radius: 4px; background: #ffffff1f; color: #fff; }
.cell-ink { background: var(--ink); color: #fff; padding-left: 28px !important; }
.cell-ink .cell-n { color: #fff; }
.cell-ink p { color: #b9bdc5; }
.sec-list { margin-top: 0; border-top: 0; }
.sec-list .cell h3 { font-size: 16px; }
.sec-list .cell p { font-size: 14.5px; }
.laws { margin-top: 40px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px 32px; align-items: start; }
.laws-label { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--sub); padding-top: 10px; }
html:lang(ja) .laws-label, html:lang(ko) .laws-label { text-transform: none; }
.laws ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); border-top: 1px solid var(--line); }
.laws li { display: grid; gap: 2px; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); }
.laws li span { font-size: 14.5px; font-weight: 500; }
.laws li b { font: 400 12.5px var(--mono); color: var(--mut); }
.laws .fine { grid-column: 2; margin-top: 4px; }

/* ---------- So sánh ---------- */
.tbl { border: 1px solid var(--line); border-radius: 10px; overflow-x: auto; background: #fff; }
.tbl table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14.5px; }
.tbl th, .tbl td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl thead th { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--mut); vertical-align: bottom; }
html:lang(ja) .tbl thead th, html:lang(ko) .tbl thead th { text-transform: none; }
.tbl thead th.us { color: var(--ink); }
.tbl tbody th { text-align: left; font-weight: 400; color: var(--ink-2); min-width: 280px; }
.tbl .us { background: var(--blue-soft); }
.tbl tbody tr:hover > * { background: #fbfbfa; }
.tbl tbody tr:hover > .us { background: #e2edfc; }
.mk { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: middle; }
.mk-2 { background: var(--ink); }
.mk-1 { background: conic-gradient(var(--ink) 0 50%, transparent 50% 100%); box-shadow: inset 0 0 0 1.5px var(--ink); }
.mk-0 { width: 12px; height: 1.5px; border-radius: 0; background: var(--line-2); }
.legend { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13.5px; color: var(--mut); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Dải kêu gọi ---------- */
.band { background: var(--ink); color: #fff; }
.band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: 56px; padding-bottom: 56px; }
.band h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.band p { margin-top: 8px; color: #a8adb6; }

/* ---------- Triển khai ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps li { padding-top: 22px; border-top: 1px solid var(--line-2); position: relative; }
.steps li::before { content: ''; position: absolute; top: -1px; left: 0; width: 40px; height: 1px; background: var(--blue); }
.step-n { display: block; font: 500 12px var(--mono); color: var(--blue); margin-bottom: 14px; }
.steps h3 { font-size: 18px; font-weight: 600; letter-spacing: -.012em; line-height: 1.35; }
.steps p { margin-top: 10px; font-size: 15px; color: var(--mut); }

/* ---------- Đơn vị phát triển ---------- */
.maker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.maker .sh-label { margin-bottom: 18px; }
.maker .sh-lead { margin-top: 18px; }
.maker-off { margin-top: 18px; font-size: 14.5px; color: var(--ink-2); }
.maker-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.maker-stats div { padding: 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.maker-stats dt { font-size: clamp(32px, 3.4vw, 44px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.maker-stats dd { margin-top: 6px; font-size: 14px; color: var(--mut); }
#sotatek > .wrap:last-child { padding-top: 0; }
#sotatek > .wrap:first-child { padding-bottom: 24px; }

/* ---------- Hỏi đáp ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
.faq-side { position: sticky; top: 96px; align-self: start; }
.faq-side .sh-title { margin-top: 18px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 14px; height: 14px; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 6.25px; height: 1.5px; background: var(--ink); transition: transform .2s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq-a { padding: 0 40px 22px 0; font-size: 15.5px; color: var(--mut); }
.faq-a strong { color: var(--ink-2); font-weight: 600; }

/* ---------- Đặt lịch demo ---------- */
.demo { background: var(--d-bg); color: var(--d-ink); }
.demo .wrap { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); }
.demo-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.demo .sh-label { color: var(--d-mut); margin-bottom: 18px; }
.demo .sh-label span { color: #fff; border-color: var(--d-line); }
.demo .sh-lead { margin-top: 18px; color: var(--d-mut); }
.demo-points { margin-top: 28px; border-top: 1px solid var(--d-line); }
.demo-points li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--d-line); position: relative; font-size: 15px; }
.demo-points li::before { content: ''; position: absolute; left: 0; top: 21px; width: 8px; height: 1.5px; background: #6f9dff; }
.demo-try { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border: 1px solid var(--d-line); border-radius: 10px; background: var(--d-bg-2); }
.demo-try p { font-size: 15px; color: var(--d-ink); }
.demo-contact { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; font: 400 13.5px var(--mono); color: var(--d-mut); }
.demo-contact a:hover { color: #fff; }
.form { background: #fff; color: var(--ink); border-radius: 12px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; }
.form-h { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { padding: 0; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.field label b, .field legend b { color: #b42318; margin-left: 2px; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font-size: 15.5px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px #036ae526; }
.was-validated .field :is(input, select):invalid { border-color: #b42318; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.opt { position: relative; }
.opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 14px; transition: all .15s; }
.opt input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--mut); line-height: 1.5; }
.consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.was-validated .consent input:invalid + span { color: #b42318; }
.form-status { padding: 12px 14px; border-radius: 8px; font-size: 14.5px; }
.form-status strong { display: block; margin-bottom: 2px; }
.form-status.ok { background: var(--ok-bg); color: #0b5c38; }
.form-status.err { background: #fdecea; color: #8f1d14; }
.form-status a { text-decoration: underline; }

/* ---------- Chân trang ---------- */
.footer { background: #070809; color: var(--d-mut); border-top: 1px solid var(--d-line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.footer .brand { color: #fff; }
.footer p { margin-top: 10px; font-size: 14px; }
.footer .muted { color: #6b717c; }
.footer nav, .footer-grid > div:not(:first-child) { display: grid; align-content: start; gap: 8px; font-size: 14px; }
.f-h { margin: 0 0 4px !important; font: 500 11.5px var(--mono) !important; text-transform: uppercase; letter-spacing: .05em; color: #fff; }
.footer a:hover, .footer a[aria-current] { color: #fff; }
.footer-bot { padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--d-line); font: 400 12.5px var(--mono); color: #6b717c; }

/* ---------- Hiện dần ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--s, 0) * 60ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Màn hình nhỏ hơn ---------- */
@media (max-width: 1180px) {
  .nav-act .btn-line { display: none; }
  .pipe { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pipe li:nth-child(4) { padding-left: 0; border-left: 0; }
  .pipe li:nth-child(4)::before { left: 0; }
  .pipe li:nth-child(n + 4) { border-top: 1px solid var(--d-line); margin-top: 8px; }
}
@media (max-width: 1020px) {
  :root { --g: 24px; }
  .nav-links { position: fixed; inset: 60px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--g) 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px -24px #0a0a0b40; }
  .nav-open .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16px; }
  .nav-links .only-mobile { display: block; color: var(--blue); }
  .nav-links .only-mobile-btn { display: inline-flex; margin-top: 16px; height: 46px; }
  .nav-act .nav-btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-row { grid-template-columns: 1fr; }
  .hero-cta { justify-items: start; }
  .app-body { grid-template-columns: 1fr; min-height: 0; }
  .app-scan { border-right: 0; border-bottom: 1px solid var(--line); }
  .sh { grid-template-columns: 1fr; }
  .cells-3, .cells-4 { grid-template-columns: 1fr 1fr; }
  .cells .cell { border-left: 0 !important; padding-left: 0 !important; }
  .cells .cell:nth-child(2n) { border-left: 1px solid var(--line) !important; padding-left: 24px !important; }
  .deploy .cell-ink { padding-left: 24px !important; }
  .proof-grid { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .proof-grid div:nth-child(3) { padding-left: 0; border-left: 0; }
  .auto { grid-template-columns: 1fr; }
  .auto-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .usp-list { grid-template-columns: 1fr; }
  .mods { grid-template-columns: 1fr 1fr; }
  .laws { grid-template-columns: 1fr; }
  .laws .fine { grid-column: 1; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .maker, .demo-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  :root { --g: 16px; }
  body { font-size: 15.5px; }
  .lang summary span { display: none; }
  .actions, .actions .btn { width: 100%; }
  .hero-cta { width: 100%; }
  .app-bar .app-crumbs { font-size: 12px; }
  .app-scan { padding: 16px; }
  .doc { font-size: 9px; padding: 18px; }
  .doc-hand { font-size: 13px; left: 12px; bottom: 44px; }
  .app-form { padding: 18px 16px 20px; }
  .fld { grid-template-columns: minmax(0, 1fr) auto; }
  .fld dt { grid-column: 1 / -1; }
  .route dl div { grid-template-columns: 96px minmax(0, 1fr); }
  .app figcaption { flex-wrap: wrap; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid div, .proof-grid div + div { padding: 16px 0; border-left: 0; border-top: 1px solid var(--line); }
  .cells-3, .cells-4, .mods, .steps { grid-template-columns: 1fr; }
  .cells .cell:nth-child(2n) { border-left: 0 !important; padding-left: 0 !important; }
  .deploy .cell-ink { padding-left: 20px !important; padding-right: 20px; }
  .pipe { grid-template-columns: 1fr; }
  .pipe li, .pipe li + li { padding: 24px 0 16px 20px; border-left: 1px solid var(--d-line); margin-top: 0; border-top: 0 !important; }
  .pipe li::before, .pipe li + li::before, .pipe li:nth-child(4)::before { left: -5px; top: 28px; }
  .pipe li:nth-child(4) { border-left: 1px solid var(--d-line); padding-left: 20px; }
  .pipe li:nth-child(n + 4) { margin-top: 0; }
  .auto-side, .auto-main { padding: 18px 16px; }
  .auto-levels { gap: 4px; }
  .lv-code { width: 34px; height: 34px; font-size: 12px; }
  .lv-track { top: 16px; }
  .lv-name { font-size: 11.5px; }
  .ap { padding: 16px; }
  .ap-cols { grid-template-columns: 1fr; }
  .ap-cols > div + div { padding-left: 0; margin-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 16px; }
  .auto-foot { grid-template-columns: 1fr; }
  .auto-foot li + li { border-left: 0; border-top: 1px solid var(--line); }
  .usp-list li { grid-template-columns: 36px minmax(0, 1fr); }
  .usp-list .st { grid-column: 2; justify-self: start; }
  .form-grid { grid-template-columns: 1fr; }
  .faq summary { font-size: 16px; }
  .faq-a { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  /* bảng so sánh thành thẻ */
  .tbl { border: 0; background: transparent; overflow: visible; }
  .tbl table { min-width: 0; }
  .tbl thead { display: none; }
  .tbl tbody { display: grid; gap: 10px; }
  .tbl tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
  .tbl tbody th { grid-column: 1 / -1; min-width: 0; padding: 0 0 4px; border: 0; font-weight: 500; }
  .tbl td { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border: 0; border-radius: 6px; background: var(--alt); font-size: 11.5px; line-height: 1.3; color: var(--mut); }
  .tbl td::after { content: attr(data-label); }
  .tbl td.us { background: var(--blue-soft); color: var(--ink); font-weight: 500; }
}
