/* Album Studio – trang chủ (đồng + than + kem). Mọi chuyển động chỉ dùng transform/opacity. */
html { scroll-behavior: smooth; }
.lp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.lp-wrap.narrow { max-width: 820px; }
.hide-sm, .hide-md { display: initial; }
.show-sm { display: none; }
@media (max-width: 1000px) { .hide-md { display: none !important; } }
@media (max-width: 640px) { .hide-sm { display: none !important; } .show-sm { display: initial; } }

.lp-nav { display: flex; align-items: center; gap: 6px; }
@media (max-width: 440px) { .lp-logo span { display: none; } .lp-logo .lp-mark { height: 32px; } }
.lp-nav .lnk { white-space: nowrap; padding: 8px 12px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: color .25s, background .25s; }
.lp-nav .lnk:hover { color: var(--ink); background: rgba(246,241,231,.07); }
.lp-nav .btn { margin-left: 6px; }
.lp-head { transition: background .4s, border-color .4s; }
.lp-page .lp-head { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; position: fixed; left: 0; right: 0; top: 0; }
.lp-page .lp-head.stuck { background: rgba(16,14,12,.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 16px; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { background: #2b2622; color: #f6f1e7; border-color: #2b2622; }
.btn-primary { box-shadow: 0 10px 30px -10px rgba(184,107,60,.7); }

.eyebrow { display: inline-block; font: 700 12px/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--accent-2); }
.h2 { font: 700 clamp(38px, 6.4vw, 84px)/.98 var(--serif); letter-spacing: -.015em; margin: 16px 0 0; }
.h2 em, .hero-h em, .mani em, .cta h2 em { font-style: italic; font-weight: 700; color: #d8925f; }
.sub { color: var(--muted); font-size: 17px; max-width: 560px; margin: 18px auto 0; }
.sec { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.sec-head { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }

/* ---------- Hiện dần / dòng chữ ---------- */
.js .rv { opacity: 0; translate: 0 44px; transition: opacity .85s var(--ease), translate 1s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; translate: 0; }
.ln { display: block; overflow: hidden; padding: .16em 0 .12em; margin: -.1em 0; }
.ln i { display: block; font-style: normal; transition: transform 1.3s var(--ease); }
.js .ln i { transform: translateY(115%) rotate(3deg); }
.js .go .ln i { transform: none; }
.ln:nth-child(2) i { transition-delay: .12s; }
.ln:nth-child(3) i { transition-delay: .24s; }

/* ---------- Con trỏ 2 lớp ---------- */
.cur-dot, .cur-ring { display: none; }
@media (pointer: fine) {
  html.cursor-on, html.cursor-on * { cursor: none !important; }
  html.cursor-on input, html.cursor-on textarea { cursor: text !important; }
  html.cursor-on .cur-dot, html.cursor-on .cur-ring { display: block; }
}
.cur-dot, .cur-ring { position: fixed; left: 0; top: 0; z-index: 999; pointer-events: none; mix-blend-mode: difference; will-change: transform; }
.cur-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; }
.cur-ring { width: 0; height: 0; }
.cur-ring span { position: absolute; left: 0; top: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid #fff; border-radius: 50%; display: grid; place-items: center; font: 700 10px/1 var(--font); letter-spacing: .12em; color: #fff; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s; }
.cur-ring.hov span { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255,255,255,.12); }
.cur-ring.txt span { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: #fff; color: #000; }

.shutter-flash { position: fixed; inset: 0; background: #fff; z-index: 995; opacity: 0; pointer-events: none; transition: opacity .45s ease-out; }
.shutter-flash.fire { opacity: .75; transition: none; }

/* ---------- Khung ngắm ---------- */
.vf { position: absolute; inset: 78px 22px 22px; pointer-events: none; z-index: 3; font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; color: rgba(246,241,231,.7); }
.vf .c { position: absolute; width: 38px; height: 38px; border: 2px solid rgba(246,241,231,.72); transition: border-color .4s; }
.vf .tl { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 12px; }
.vf .tr { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 12px; }
.vf .bl { left: 0; bottom: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 12px; }
.vf .br { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 12px; }
.vf.focused .c { border-color: #30d158; }
.vf .rec { position: absolute; left: 52px; top: 12px; display: flex; align-items: center; gap: 8px; }
.vf .rec em { font-style: normal; opacity: .75; }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff3b30; animation: blink 1.2s ease infinite; }
.vf .exif { position: absolute; right: 52px; top: 12px; opacity: .75; }
.af-box { position: absolute; left: 50%; top: 47%; width: min(78vw, 560px); height: min(52vw, 330px); translate: -50% -50%; transform: scale(1.14); opacity: .55; transition: transform .9s var(--ease), opacity .6s; }
.af-box .ab { position: absolute; width: 22px; height: 22px; border: 2px solid rgba(246,241,231,.55); transition: border-color .3s; }
.af-box .a { left: 0; top: 0; border-right: 0; border-bottom: 0; } .af-box .b { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.af-box .c2 { left: 0; bottom: 0; border-right: 0; border-top: 0; } .af-box .d { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.af-t { position: absolute; left: 0; bottom: -22px; font-size: 10px; letter-spacing: .2em; opacity: .7; transition: color .3s; }
.vf.focused .af-box { transform: scale(1); opacity: 1; }
.vf.focused .af-box .ab { border-color: #30d158; }
.vf.focused .af-t { color: #30d158; }
@keyframes blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: .15; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 110px 0 96px; isolation: isolate; background: var(--bg); }
.sheet { position: absolute; inset: -8% -12%; display: flex; flex-direction: column; justify-content: center; gap: 12px; opacity: .6; filter: saturate(.85); transform: rotate(-4deg) scale(1.12); animation: breathe 20s ease-in-out infinite alternate; z-index: -2; }
.sheet .srow { display: flex; gap: 12px; width: max-content; animation: drift 120s linear infinite; }
.sheet .srow:nth-child(even) { animation-direction: reverse; animation-duration: 150s; }
.sheet .srow img { height: clamp(120px, 19vh, 220px); width: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; background: #1a1714; }
@keyframes drift { to { transform: translate3d(-50%, 0, 0); } }
@keyframes breathe { from { transform: rotate(-4deg) scale(1.04); } to { transform: rotate(-4deg) scale(1.14); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 55% at 50% 48%, rgba(16,14,12,.78), rgba(16,14,12,.35) 70%), linear-gradient(to top, var(--bg) 3%, rgba(16,14,12,.5) 45%, rgba(16,14,12,.82) 100%); }
.hero-in { position: relative; z-index: 4; }
.hero-h { font: 700 clamp(46px, min(11vw, 15vh), 140px)/.95 var(--serif); letter-spacing: -.02em; margin: 22px 0 24px; text-shadow: 0 6px 40px rgba(0,0,0,.45); }
.hero-sub { max-width: 620px; margin: 0 auto 32px; font-size: clamp(15.5px, 2vw, 19px); color: var(--ink-2); }
.hero-sub b { color: var(--ink); font-weight: 700; white-space: nowrap; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-cta .btn-ghost { background: rgba(246,241,231,.06); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ticks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 28px 0 0; padding: 0; font-size: 13.5px; color: var(--ink-2); }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--copper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.6 7.2l2.3 2.3 4.5-4.7' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.scroll-cue { position: absolute; left: 50%; bottom: 40px; translate: -50% 0; z-index: 4; display: grid; justify-items: center; gap: 8px; font: 600 10px/1 ui-monospace, Menlo, monospace; letter-spacing: .3em; text-transform: uppercase; color: rgba(246,241,231,.6); }
.scroll-cue i { width: 1px; height: 38px; background: linear-gradient(var(--ink), transparent); transform-origin: top; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Dải chữ ---------- */
.marquee { --ap-hole: #0c0a09; overflow: hidden; background: #0c0a09; border-block: 1px solid var(--line); padding: 26px 0; }
.mq-track { display: flex; align-items: center; width: max-content; animation: mq 46s linear infinite; }
.mq-track span { font: italic 600 clamp(30px, 4.6vw, 54px)/1 var(--serif); color: var(--ink); white-space: nowrap; padding: 0 clamp(18px, 3vw, 40px); }
.mq-track svg { width: 24px; height: 24px; flex: none; --ap-color: #ce8454; animation: spin 14s linear infinite; }
@keyframes mq { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Tuyên ngôn ---------- */
.manifesto { padding: clamp(90px, 14vw, 190px) 0; }
.mani { font: 600 clamp(28px, 5.4vw, 68px)/1.16 var(--serif); letter-spacing: -.01em; max-width: 1020px; margin: 28px 0 0; }
.mani .w { opacity: .16; transition: opacity .5s var(--ease); }
.mani .w.lit { opacity: 1; }

/* ---------- Demo cuộn ---------- */
.demo { position: relative; border-top: 1px solid var(--line); background: linear-gradient(var(--bg), #0c0a09 40%, var(--bg)); }
.demo-head { padding-top: clamp(70px, 9vw, 120px); padding-bottom: 10px; }
.demo-head .h2 { margin-top: 14px; }
.demo-track { height: 440svh; position: relative; }
.demo-sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding-top: 64px; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; width: 100%; }
.dsteps { list-style: none; margin: 0; padding: 0; }
.dstep { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); opacity: .38; transition: opacity .5s var(--ease); }
.dstep:last-child { border-bottom: 1px solid var(--line); }
.dstep.on { opacity: 1; }
.dn { font: 600 13px/1.9 ui-monospace, Menlo, monospace; color: var(--accent-2); letter-spacing: .08em; flex: none; }
.dstep h3 { margin: 0 0 6px; font: 700 clamp(24px, 2.6vw, 34px)/1.1 var(--serif); letter-spacing: -.005em; }
.dstep p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 420px; }
.dslot { display: none; }
.stage { position: relative; width: 100%; max-width: 620px; justify-self: end; aspect-ratio: 1 / .94; max-height: calc(100svh - 150px); }
.scene { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(184,107,60,.08); opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none; }
.scene.on { opacity: 1; transform: none; }
.win-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; background: #14110f; border-bottom: 1px solid var(--line); flex: none; }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(246,241,231,.16); }
.win-url { margin-left: 10px; font: 500 12px/1 ui-monospace, Menlo, monospace; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-body { position: relative; flex: 1; padding: 22px; display: flex; flex-direction: column; min-height: 0; }
.prog { position: absolute; left: 0; right: 0; bottom: -22px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.prog i { display: block; height: 100%; width: 100%; background: var(--copper); transform-origin: left; transform: scaleX(0); }
.okc { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #34c77b; color: #04150c; display: inline-grid; place-items: center; }
.okc svg { width: 14px; height: 14px; }

/* cảnh a */
.s0 { justify-content: center; gap: 12px; }
.lbl { font: 700 11px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.fld { min-height: 52px; display: flex; align-items: center; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(246,241,231,.04); font: 500 clamp(11px, 1.3vw, 13.5px)/1.3 ui-monospace, Menlo, monospace; color: var(--ink); overflow: hidden; }
.typed { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.caret { width: 2px; height: 18px; background: var(--accent-2); margin-left: 2px; animation: blink 1s steps(1) infinite; flex: none; }
.fake-btn { align-self: flex-start; min-height: 44px; padding: 0 24px; border-radius: 99px; border: 0; background: var(--accent); color: #fff; font: 700 14px var(--font); transition: transform .4s var(--ease), box-shadow .4s; cursor: default; }
.fake-btn.press { transform: scale(.94); box-shadow: 0 0 0 8px rgba(184,107,60,.25); }
.made { margin-top: 6px; padding: 16px; border: 1px solid rgba(184,107,60,.45); background: var(--accent-soft); border-radius: 16px; opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.made.show { opacity: 1; transform: none; }
.made-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; }
.made-top small { color: var(--muted); font-size: 13px; }
.copyrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 8px 8px 8px 14px; border-radius: 12px; background: rgba(0,0,0,.35); }
.copyrow code { font: 500 clamp(11px, 1.3vw, 13px) ui-monospace, Menlo, monospace; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.copy-b { flex: none; padding: 8px 14px; border-radius: 99px; background: var(--ink); color: #1a1714; font: 700 12.5px var(--font); transition: background .3s, color .3s; }
.copy-b.done { background: #34c77b; color: #04150c; }

/* lưới ảnh dùng cho cảnh b và c */
.pgrid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pgrid .t { position: relative; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: #231f1b; transition: opacity .5s, transform .5s var(--ease); }
.pgrid .t img { width: 100%; height: 100%; object-fit: cover; }
.pgrid .t::after { content: ''; position: absolute; inset: 0; border-radius: 10px; box-shadow: inset 0 0 0 0 var(--copper); transition: box-shadow .35s var(--ease); }
.pgrid .t.sel::after, .pgrid .t.hit::after { box-shadow: inset 0 0 0 3px var(--copper); }
.pgrid .pk { position: absolute; right: 6px; top: 6px; z-index: 2; width: 22px; height: 22px; border-radius: 50%; background: var(--copper); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .45s var(--ease); }
.pgrid .pk svg { width: 12px; height: 12px; }
.pgrid .t.sel .pk { transform: scale(1); }
.pgrid .pc { position: absolute; left: 6px; bottom: 6px; z-index: 2; padding: 3px 7px; border-radius: 99px; background: rgba(16,14,12,.85); color: #e8b27a; font: 700 10.5px/1 ui-monospace, Menlo, monospace; transform: scale(0); transform-origin: left bottom; transition: transform .4s var(--ease); }
.pgrid .t.hit .pc { transform: scale(1); }
.s1 .pgrid { margin-top: 2px; }
.s1 .t:nth-child(3) { transform: none; }
.bubble { position: absolute; left: 50%; top: 40%; z-index: 4; width: min(230px, 62%); padding: 11px 14px; border-radius: 16px 16px 16px 4px; background: var(--ink); color: #1a1714; font-size: 13.5px; font-weight: 600; line-height: 1.35; box-shadow: 0 16px 40px rgba(0,0,0,.5); opacity: 0; transform: translateY(12px) scale(.9); transform-origin: left bottom; transition: opacity .45s var(--ease), transform .6s var(--ease); }
.bubble b { display: block; font: 700 10px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--copper); margin-bottom: 5px; }
.bubble.show { opacity: 1; transform: none; }
.sendbar { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 99px; background: #100e0c; border: 1px solid rgba(184,107,60,.55); font-size: 13.5px; font-weight: 600; }
.sendbar em { font-style: normal; padding: 9px 16px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.s1 { gap: 14px; }

/* cảnh c */
.s2 { gap: 16px; }
.selfie-row { display: flex; align-items: center; gap: 16px; }
.selfie { position: relative; flex: none; width: 66px; height: 66px; border-radius: 50%; overflow: hidden; }
.selfie img { width: 100%; height: 100%; object-fit: cover; transform: scale(2.7); transform-origin: 68% 33%; }
.scan-ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--copper); }
.found small { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 3px; }
.found b { font: 700 clamp(17px, 2.2vw, 22px)/1.2 var(--font); letter-spacing: -.02em; }
.scanbox { position: absolute; left: 0; top: 0; width: 25%; aspect-ratio: 1 / 1; z-index: 5; pointer-events: none; opacity: 0; transition: transform .5s var(--ease), opacity .3s; }
.scanbox i { position: absolute; width: 14px; height: 14px; border: 2px solid #30d158; }
.scanbox i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; } .scanbox i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.scanbox i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; } .scanbox i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.pgrid .t.dim { opacity: .3; }

/* cảnh d */
.s3 { align-items: center; justify-content: center; gap: 20px; text-align: center; }
.ring-wrap { position: relative; width: clamp(150px, 20vw, 200px); aspect-ratio: 1; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.rb { stroke: rgba(246,241,231,.1); }
.rf { stroke: #d8925f; stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; }
.ring-c { position: absolute; inset: 0; display: grid; place-content: center; }
.ring-c b { font: 800 clamp(34px, 5vw, 46px)/1 var(--font); letter-spacing: -.04em; }
.ring-c small { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.saved { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-weight: 700; font-size: 16px; color: var(--ink); opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.saved.show { opacity: 1; transform: none; }

/* chế độ điện thoại: mỗi bước một khung riêng, xếp dọc */
.demo.m .demo-track { height: auto; }
.demo.m .demo-sticky { position: static; height: auto; padding: 24px 0 70px; display: block; }
.demo.m .demo-grid { display: block; }
.demo.m .stage { display: none; }
.demo.m .dstep { flex-wrap: wrap; opacity: 1; padding: 30px 0; }
.demo.m .dstep > div:nth-child(2) { flex: 1 1 calc(100% - 50px); }
.demo.m .dstep > div, .demo.m .scene, .demo.m .win-body { min-width: 0; }
.demo.m .dslot { display: block; flex: 1 1 100%; margin-top: 8px; }
.demo.m .scene { position: relative; inset: auto; opacity: 1; transform: none; pointer-events: auto; transition: none; }
.demo.m .win-body { min-height: 300px; }
.demo.m .s1, .demo.m .s2 { min-height: 340px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bc { position: relative; display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(180deg, var(--surface), #151210); overflow: hidden; transition: opacity .85s var(--ease), translate 1s var(--ease), border-color .4s, transform .5s var(--ease); }
.bc:hover { border-color: rgba(184,107,60,.5); transform: translateY(-4px); }
.bc h3 { margin: 22px 0 6px; font: 700 clamp(22px, 2.2vw, 28px)/1.1 var(--serif); letter-spacing: -.005em; }
.bc p { margin: 0; color: var(--muted); font-size: 14px; }
.b-vis { flex: 1; min-height: 170px; display: grid; place-items: center; align-content: center; gap: 14px; border-radius: 18px; background: radial-gradient(80% 90% at 50% 0%, rgba(184,107,60,.12), transparent 70%), #100e0c; border: 1px solid var(--line); padding: 18px; overflow: hidden; }
.b1 { grid-column: span 2; } .b6 { grid-column: span 2; }
.ba { position: relative; width: 100%; max-width: 360px; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-b { filter: saturate(.5) contrast(.82) brightness(.96); }
.ba-a { filter: contrast(1.1) saturate(1.22) brightness(1.03); transition: opacity .7s var(--ease); }
.ba:not(.edit) .ba-a { opacity: 0; }
.ba-tag { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 99px; background: rgba(16,14,12,.8); font: 700 11px/1 var(--font); letter-spacing: .06em; color: var(--ink); }
.sw { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font: 700 12px var(--font); }
.sw i { position: relative; width: 38px; height: 22px; border-radius: 99px; background: var(--accent); transition: background .3s; }
.sw i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transform: translateX(16px); transition: transform .45s var(--ease); }
.sw[aria-checked="false"] i { background: #4a423a; } .sw[aria-checked="false"] i::after { transform: none; }
.brand-demo { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line-2); transition: opacity .35s; }
.brand-demo.swap { opacity: 0; }
.bd-logo { width: 38px; height: 38px; border-radius: 50%; background: var(--copper); display: grid; place-items: center; font: italic 700 22px/1 var(--serif); color: #fff; }
.bd-name { font: italic 700 22px/1 var(--serif); white-space: nowrap; }
.bd-links { display: flex; gap: 8px; } .bd-links i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(246,241,231,.05); }
.drive { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font: 600 12.5px var(--font); }
.dv-f, .dv-a { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); white-space: nowrap; }
.dv-f svg { width: 18px; height: 18px; color: var(--accent-2); }
.dv-a { background: var(--accent-soft); border-color: rgba(184,107,60,.5); color: var(--accent-2); }
.dv-l { display: flex; gap: 5px; } .dv-l i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); animation: hop 1.5s ease-in-out infinite; }
.dv-l i:nth-child(2) { animation-delay: .2s; } .dv-l i:nth-child(3) { animation-delay: .4s; }
@keyframes hop { 0%, 100% { opacity: .2; transform: scale(.8); } 40% { opacity: 1; transform: scale(1.3); } }
.pw { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line-2); }
.lock { width: 28px; height: 28px; color: var(--accent-2); } .shackle { animation: shack 4.5s var(--ease) infinite; transform-box: fill-box; }
@keyframes shack { 0%, 55% { transform: translateY(-2.5px); } 70%, 100% { transform: none; } }
.dots { display: flex; gap: 7px; } .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); animation: dotin 4.5s ease infinite; }
.dots i:nth-child(2) { animation-delay: .1s; } .dots i:nth-child(3) { animation-delay: .2s; } .dots i:nth-child(4) { animation-delay: .3s; } .dots i:nth-child(5) { animation-delay: .4s; } .dots i:nth-child(6) { animation-delay: .5s; }
@keyframes dotin { 0% { opacity: .12; transform: scale(.5); } 10%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: .12; transform: scale(.5); } }
.qr { position: relative; width: 112px; height: 112px; padding: 9px; border-radius: 14px; background: #f6f1e7; overflow: hidden; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr-scan { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--copper); box-shadow: 0 0 14px 3px rgba(184,107,60,.7); animation: qrscan 2.6s ease-in-out infinite alternate; }
@keyframes qrscan { from { transform: translateY(2px); } to { transform: translateY(106px); } }
.notif { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line-2); animation: notif 5.5s var(--ease) infinite; }
.notif b { display: block; font-size: 14.5px; } .notif small { color: var(--muted); font-size: 12.5px; }
.bell { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; animation: ring 5.5s ease infinite; transform-origin: 50% 20%; } .bell svg { width: 20px; height: 20px; }
@keyframes notif { 0% { opacity: 0; transform: translateY(16px); } 10%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes ring { 0%, 8% { transform: none; } 12% { transform: rotate(16deg); } 16% { transform: rotate(-14deg); } 20% { transform: rotate(8deg); } 24%, 100% { transform: none; } }

/* ---------- Số liệu ---------- */
.stats { border-block: 1px solid var(--line); background: #0c0a09; }
.stats .lp-wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(36px, 6vw, 72px) 18px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 700 clamp(32px, 4.4vw, 62px)/1 var(--font); color: #d8925f; letter-spacing: -.045em; white-space: nowrap; }
.stat small { display: block; margin-top: 12px; font: 700 11.5px/1.4 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Bảng giá (nền kem) ---------- */
.sec.light { background: #f6f1e7; color: #2b2622; --ink: #2b2622; --ink-2: #4d453d; --muted: #6f655a; --line: rgba(43,38,34,.14); --line-2: rgba(43,38,34,.3); --surface: #fffaf0; --accent-2: #9a5429; }
.light .h2 em { color: #b86b3c; }
.light .eyebrow { color: #9a5429; }
.price { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.pcard { position: relative; display: flex; flex-direction: column; padding: 30px 24px 24px; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); transition: opacity .85s var(--ease), translate 1s var(--ease), box-shadow .4s, transform .5s var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(43,38,34,.35); }
.pcard h3 { margin: 0; font: 700 15px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pcard .amt { font: 800 clamp(34px, 3.4vw, 44px)/1 var(--font); letter-spacing: -.045em; margin: 18px 0 4px; white-space: nowrap; }
.pcard .per { color: var(--muted); font-size: 14px; min-height: 22px; }
.pcard ul { list-style: none; margin: 22px 0 26px; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; flex: 1; font-size: 14.5px; align-content: start; }
.pcard li { position: relative; padding-left: 26px; line-height: 1.45; }
.pcard li::before { content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--copper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.6 7.2l2.3 2.3 4.5-4.7' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.pcard li.no { color: var(--muted); } .pcard li.no::before { background: rgba(43,38,34,.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4.5 7h5' stroke='%23fffaf0' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.pcard .btn { width: 100%; }
.badge { position: absolute; top: -13px; left: 24px; padding: 6px 14px; border-radius: 99px; background: var(--copper); color: #fff; font: 800 11.5px/1 var(--font); letter-spacing: .06em; }
.badge.alt { background: #2b2622; color: #f6f1e7; }
.pcard.hot { background: #2b2622; color: #f6f1e7; border-color: #2b2622; --ink: #f6f1e7; --ink-2: #d2cbbd; --muted: #b0a695; --line: rgba(246,241,231,.16); --accent-2: #d8925f; transform: translateY(-10px); box-shadow: 0 40px 70px -30px rgba(43,38,34,.7); }
.pcard.hot:hover { transform: translateY(-14px); }
.pcard.hot .btn-primary:hover { background: #f6f1e7; color: #2b2622; border-color: #f6f1e7; }
.lp-fine { text-align: center; color: var(--muted); font-size: 14px; margin: 44px auto 0; max-width: 640px; }
.lp-fine b { color: var(--ink); }
.cmp { margin-top: 40px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); overflow: hidden; }
.cmp summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; font: 700 16px var(--font); cursor: pointer; }
.cmp summary::-webkit-details-marker { display: none; }
.cmp summary i, .faq summary i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .5s var(--ease), background .3s; }
.cmp summary i::before, .faq summary i::before, .cmp summary i::after, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; margin: -.8px 0 0 -5px; background: currentColor; border-radius: 2px; }
.cmp summary i::after, .faq summary i::after { transform: rotate(90deg); transition: transform .5s var(--ease); }
.cmp[open] summary i::after, .faq details[open] summary i::after { transform: rotate(0); }
.cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--line); }
.cmp table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { padding: 14px 18px; text-align: center; border-top: 1px solid var(--line); }
.cmp thead th { border-top: 0; font: 700 12px var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cmp tbody th { text-align: left; font-weight: 600; position: sticky; left: 0; background: var(--surface); min-width: 190px; }
.cmp .hl { background: rgba(184,107,60,.09); }
.cmp tbody th.hl { background: var(--surface); }
.cmp .y { color: #b86b3c; font-weight: 800; } .cmp .n { color: var(--muted); }

/* ---------- Hỏi đáp ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 2px; cursor: pointer; font: 600 clamp(17px, 2vw, 21px)/1.3 var(--font); transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-2); }
.faq details[open] summary i { background: var(--accent); border-color: var(--accent); color: #fff; }
.fa { overflow: hidden; }
.fa p { margin: 0; padding: 0 44px 26px 2px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* ---------- CTA cuối ---------- */
.cta { position: relative; padding: clamp(110px, 16vw, 200px) 0; text-align: center; overflow: hidden; background: radial-gradient(60% 80% at 50% 105%, rgba(184,107,60,.34), transparent 70%), #0c0a09; border-top: 1px solid var(--line); }
.cta .vf-s { inset: 26px; }
.cta-in { position: relative; z-index: 2; }
.cta-logo { width: 150px; height: auto; margin: 0 auto 30px; }
.cta .h2 { font-size: clamp(40px, 8vw, 104px); margin: 0 0 20px; }
.cta p { color: var(--ink-2); max-width: 480px; margin: 0 auto 34px; }

/* ---------- Chân trang ---------- */
.lp-foot { background: #0a0908; border-top: 1px solid var(--line); padding: 54px 0 calc(36px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 14px; }
.lp-foot .lp-wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px 40px; align-items: start; }
.f-brand img { width: 96px; height: auto; margin-bottom: 14px; }
.f-brand div { max-width: 320px; }
.lp-foot .cols { display: grid; gap: 10px; align-content: start; }
.lp-foot .cols a { color: var(--ink-2); } .lp-foot .cols a:hover { color: var(--accent-2); }
.lp-foot .copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }

/* ---------- Điện thoại ---------- */
@media (max-width: 1000px) {
  .demo-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b1, .b6 { grid-column: span 2; }
  .price { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .pcard.hot { transform: none; } .pcard.hot:hover { transform: translateY(-4px); }
  .lp-foot .lp-wrap { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; }
}
@media (max-height: 860px) { .scroll-cue { display: none; } }
@media (max-width: 640px) {
  .lp-wrap { padding: 0 18px; }
  .lp-logo span { font-size: 15px; }
  .vf { inset: 72px 12px 12px; } .vf .c { width: 26px; height: 26px; }
  .vf .rec { left: 36px; top: 8px; } .vf .exif { display: none; }
  .hero { padding: 96px 0 90px; }
  .scroll-cue { bottom: 26px; }
  .hero-cta .btn { width: 100%; }
  .bento, .price { grid-template-columns: 1fr; }
  .b1, .b6 { grid-column: auto; }
  .stats .lp-wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cmp summary { padding: 18px; }
  .lp-foot .lp-wrap { grid-template-columns: 1fr; }
  .fa p { padding-right: 8px; }
  .pgrid { gap: 6px; }
}

/* ---------- Giảm chuyển động ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; translate: 0; transition: none; }
  .js .ln i { transform: none; transition: none; }
  .sheet, .sheet .srow, .mq-track, .mq-track svg, .scroll-cue i, .rec-dot, .caret, .dv-l i, .shackle, .dots i, .qr-scan, .notif, .bell { animation: none !important; }
  .mani .w { opacity: 1; }
  .scene, .made, .bubble, .saved, .af-box { transition: none; }
  .dots i { opacity: 1; }
}

/* Sếp chỉnh: điện thoại – ô lấy nét bao gọn tiêu đề, không đè nút; dòng phụ thoáng hơn */
.hero-sub { line-height: 1.6; }
.hero-sub b { display: inline-block; }
@media (max-width: 640px) {
  .af-box { top: 34%; width: 92vw; height: 46vw; }
  .af-t { display: none; }
  .hero-sub { margin-top: 18px; }
}
