/* ContextSnap website. Cùng bảng màu với extension (popup.html / content.js):
   tím #6C5CE7 / #8B7BF5, nền tối như ảnh trên Store. Font: Source Serif 4 cho tiêu đề, Inter cho
   chữ thường (fonts/, từ 13/10/2026; xem khối Typography cuối file). Chỉ có giao diện TỐI (Linh bỏ giao diện sáng 13/10/2026): các khối dark trước đây nằm trong
   @media (prefers-color-scheme: dark) giờ luôn áp dụng, đè lên giá trị sáng khai báo phía trên. */
/* ===== Typography (13/10/2026) =====
   Tieu de: Source Serif 4 (chu co chan, giong tieu de bai bao / tu dien).
   Chu thuong: Inter. Ca hai giay phep SIL OFL 1.1, file nam trong fonts/
   (khong goi CDN). unicode-range: chi tai phan chu can dung. */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter-latin-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter-vietnamese-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-display: swap; font-weight: 200 900; src: url(fonts/source-serif-4-latin-opsz-normal.woff2) format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-display: swap; font-weight: 200 900; src: url(fonts/source-serif-4-latin-ext-opsz-normal.woff2) format("woff2-variations"); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-display: swap; font-weight: 200 900; src: url(fonts/source-serif-4-vietnamese-opsz-normal.woff2) format("woff2-variations"); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }

@font-face { font-family: "Source Serif 4"; font-style: italic; font-display: swap; font-weight: 600; src: url(fonts/source-serif-4-italic-600-basic.woff2) format("woff2"); unicode-range: U+0020-007E,U+2019,U+201C-201D; } /* chi chu Latin co ban, dam 600: dung cho "three times?" */
:root {
  --bg: #fafafc;
  --surface: #ffffff;
  --text: #17171f;
  --dim: #565866;
  --line: #e4e4ec;
  --accent: #5b4bd6;
  --accent-strong: #4b3ac0;
  --accent-soft: #eeebfd;
  /* 13/10/2026: bo mau xanh la, thay bang vang giong huy hieu FOUNDING trong extension */
  --gold: #a16207;
  --gold-soft: #fdf3d3;
  --gold-grad: linear-gradient(100deg, #F7D46B, #F0B94A);
  --gold-ink: #1A1206;
  --hi: #f7d46b;
  --hero-bg: #0e0f17;
  --hero-text: #f2f1f8;
  --hero-dim: #a6a6b8;
  --hero-accent: #a99bff;
  --card-dark: #15161f;
  --card-line: #3a3560;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", "Iowan Old Style", "Charter", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
/* giao dien toi (luon bat tu 13/10/2026) */
  :root {
    --bg: #0e0f17;
    --surface: #15161f;
    --text: #ecebf4;
    --dim: #a3a3b6;
    --line: #2a2a3a;
    --accent: #a99bff;
    --accent-strong: #c2b8ff;
    --accent-soft: #221f3d;
    --gold: #F7D46B;
    --gold-soft: #2b2412;
    color-scheme: dark;
  }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 740px; }

/* --- thanh trên cùng --- */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav { display: flex; gap: 20px; align-items: center; font-size: 15px; }
.nav a { color: var(--dim); text-decoration: none; }
.nav a:hover { color: var(--text); }
.nav .btn { color: #fff; }
@media (max-width: 640px) { .nav a.hide-sm { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .12s, background .12s; }
.btn-primary { background: #6c5ce7; color: #fff; }
.btn-primary:hover { background: #5b4bd6; color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn-sm { padding: 8px 14px; font-size: 14px; }

/* --- hero: luôn tối, giống ảnh trên Store --- */
.hero { background: radial-gradient(1200px 500px at 20% -10%, #262248 0%, transparent 60%), var(--hero-bg); color: var(--hero-text); padding-block: 72px 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 18px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--hero-accent); }
.hero p.lead { font-size: 18px; color: var(--hero-dim); margin: 0 0 28px; max-width: 34em; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-ghost { color: var(--hero-text); border-color: #3a3a52; }
.hero .btn-ghost:hover { border-color: var(--hero-accent); color: #fff; }
.hero .fine { margin-top: 18px; font-size: 13.5px; color: var(--hero-dim); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-block: 48px 56px; } }

/* minh hoạ: một đoạn trong bài báo + khung trả lời của ContextSnap */
.demo { position: relative; min-width: 0; }
.paper { background: #171826; border: 1px solid #2a2a40; border-radius: 14px; padding: 22px 22px 26px; color: #b9b9cc; font-size: 14.5px; line-height: 1.7; }
.paper .meta { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #7d7d94; margin-bottom: 8px; }
.paper h3 { color: #ecebf4; font-size: 16px; margin: 0 0 10px; line-height: 1.4; }
.paper mark { background: var(--hi); color: #1d1a10; border-radius: 3px; padding: 1px 2px; }

/* --- các phần nội dung --- */
section.block { padding-block: 76px; }
section.block + section.block { border-top: 1px solid var(--line); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
h2.title { font-size: clamp(28px, 3.6vw, 38px); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 14px; text-wrap: balance; }
p.sub { color: var(--dim); font-size: 17px; margin: 0 0 40px; max-width: 40em; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.step::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--dim); font-size: 15px; }
.kbd { font-family: var(--mono); font-size: 12.5px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; background: var(--bg); white-space: nowrap; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.uses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.use { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.use svg { width: 22px; height: 22px; color: var(--accent); margin-top: 3px; }
.use h3 { margin: 0 0 2px; font-size: 16.5px; }
.use p { margin: 0; color: var(--dim); font-size: 15px; }
@media (max-width: 720px) { .uses { grid-template-columns: 1fr; } }

/* --- bảng giá --- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan .tag { position: absolute; top: -11px; left: 22px; background: #6c5ce7; color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; padding: 3px 10px; border-radius: 99px; }
.plan h3 { margin: 0; font-size: 17px; }
.price { font-size: 34px; font-weight: 750; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-size: 15px; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.alt { font-size: 14px; color: var(--dim); margin-top: -6px; }
.gold-text { color: var(--gold); }
.billed { font-size: 14.5px; font-weight: 650; color: var(--text); margin-top: -6px; }
.billed + .alt { margin-top: -10px; }
.sublink { display: block; text-align: center; font-size: 14px; margin-top: -4px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.plan li::before { content: ""; width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%236c5ce7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.plan .spacer { flex: 1; }
.plan .btn { width: 100%; }
.plan .note { font-size: 12.5px; color: var(--dim); margin: 0; text-align: center; }
@media (max-width: 980px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.pricing-foot { margin-top: 26px; font-size: 14px; color: var(--dim); display: grid; gap: 6px; }

/* --- câu hỏi thường gặp --- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding-block: 14px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--dim); }

.contact { background: var(--accent-soft); border-radius: 18px; padding: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.contact h2 { margin: 0 0 6px; font-size: 24px; }
.contact p { margin: 0; color: var(--dim); }
.mail { font-family: var(--mono); font-size: 15px; background: var(--surface); border: 1px solid var(--line); padding: 10px 14px; border-radius: 10px; color: var(--text); text-decoration: none; overflow-wrap: anywhere; }

/* --- chân trang --- */
footer.site { border-top: 1px solid var(--line); padding-block: 36px 48px; font-size: 14px; color: var(--dim); }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer.site a { color: var(--dim); }

/* --- trang văn bản pháp lý --- */
.doc { padding-block: 56px 80px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.02em; margin: 0 0 6px; }
.doc .updated { color: var(--dim); font-size: 14px; margin: 0 0 28px; }
.doc .summary { background: var(--accent-soft); border-radius: 14px; padding: 18px 22px; margin: 0 0 36px; }
.doc .summary p { margin: 0 0 6px; }
.doc .summary ul { margin: 0; padding-left: 20px; }
.doc h2 { font-size: 21px; margin: 40px 0 10px; letter-spacing: -0.01em; scroll-margin-top: 80px; }
.doc h3 { font-size: 17px; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--text); }
.doc li + li { margin-top: 6px; }
.doc code { font-family: var(--mono); font-size: 13.5px; background: var(--accent-soft); padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }
.doc pre { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px; overflow-x: auto; font-size: 13px; }
.doc pre code { background: none; padding: 0; }
.table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 12px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.doc tr:last-child td { border-bottom: 0; }
.doc th { background: var(--surface); font-weight: 650; }
.doc .callout { border-left: 3px solid var(--accent); background: var(--surface); padding: 12px 16px; border-radius: 0 10px 10px 0; margin: 16px 0; }
.toc { font-size: 14.5px; columns: 2; column-gap: 32px; padding-left: 18px; margin: 0 0 8px; }
@media (max-width: 600px) { .toc { columns: 1; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* =====================================================================
   CHUYỂN ĐỘNG (06/10/2026)
   - Chữ ở hero hiện dần lúc mở trang (chỉ CSS).
   - Minh hoạ: tô sáng câu → hiện nút Explain → khung trả lời trượt lên.
     Chạy khi site.js thêm class "play", lặp lại sau vài giây.
   - Các phần bên dưới hiện dần khi cuộn tới (site.js thêm "reveal"/"in").
   Không có JavaScript thì mọi thứ vẫn hiện đầy đủ, không có gì bị ẩn.
   Người bật "giảm chuyển động" trong máy thì tắt hết.
   ===================================================================== */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
/* Tô sáng từng chữ một, giống kéo chuột bôi đen thật. Chữ chuyển sang màu tối
   cùng lúc nền vàng hiện ra, nên lúc nào cũng đọc được. */
@keyframes wsel { from { background-color: transparent; color: #b9b9cc; } to { background-color: var(--hi); color: #1d1a10; } }
@keyframes pill { 0% { opacity: 0; transform: translate(-55%, 95%) scale(.85); } 15%, 75% { opacity: 1; transform: translate(-55%, 115%) scale(1); } 100% { opacity: 0; transform: translate(-55%, 115%) scale(.95); } }
@keyframes card { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 1px var(--accent), 0 0 0 0 rgba(108,92,231,0); } 50% { box-shadow: 0 0 0 1px var(--accent), 0 0 32px 2px rgba(108,92,231,.22); } }

.hero h1, .hero p.lead, .hero .ctas, .hero .fine { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero p.lead { animation-delay: .08s; }
.hero .ctas { animation-delay: .16s; }
.hero .fine { animation-delay: .24s; }
.demo { animation: fade .8s .2s both; }

.paper { position: relative; }
.paper mark { background-image: linear-gradient(var(--hi), var(--hi)); background-repeat: no-repeat; background-size: 100% 100%; background-color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.pill { position: absolute; display: none; line-height: 1.2; margin-left: 2px; padding: 5px 11px; border-radius: 99px; background: #6c5ce7; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; box-shadow: 0 6px 18px rgba(108,92,231,.45); white-space: nowrap; pointer-events: none; }
.scene.play mark { background: transparent; color: inherit; }
.scene.play mark .w { animation: wsel .12s calc(.5s + var(--k, 0) * 55ms) both; }
.scene.play .pill { display: inline-block; animation: pill 1.3s 1.45s ease both; }
.scene.play .cs-popup { animation: card .6s 2.45s cubic-bezier(.2,.8,.2,1) both; }
.scene.play .cs-quote { animation: fade .4s 2.75s both; }
.scene.play .cs-role { animation: fade .4s 2.95s both; }
.scene.play .cs-body p { animation: rise .5s both; }
.scene.play .cs-body p:nth-child(1) { animation-delay: 3.1s; }
.scene.play .cs-body p:nth-child(2) { animation-delay: 3.45s; }
.scene.play .cs-body p:nth-child(3) { animation-delay: 3.8s; }
.scene.play .cs-related { animation: fade .4s 4.2s both; }
.scene.play .cs-chip:nth-of-type(2) { animation: rise .45s 4.3s both; }
.scene.play .cs-chip:nth-of-type(3) { animation: rise .45s 4.45s both; }


.top { transition: box-shadow .2s, border-color .2s; }
.top.scrolled { box-shadow: 0 6px 24px rgba(10,10,20,.08); }

.btn-primary { box-shadow: 0 1px 0 rgba(255,255,255,.15) inset; }
.btn-primary:hover { box-shadow: 0 8px 22px rgba(108,92,231,.35); }
.step, .plan, .faq details { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.step:hover, .plan:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 14px 34px rgba(20,16,60,.10); }
.plan.featured { animation: glow 4s 1s ease-in-out infinite; }
.plan.featured:hover { border-color: var(--accent); }
.use svg { transition: transform .25s ease; }
.use:hover svg { transform: scale(1.15) rotate(-4deg); }
.faq details:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.faq summary::after { transition: transform .2s ease; }
.faq details[open] p { animation: rise .35s ease both; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero p.lead, .hero .ctas, .hero .fine, .demo,
  .scene.play mark .w, .scene.play .pill, .scene.play .cs-popup, .scene.play .cs-popup *,
  .plan.featured, .faq details[open] p { animation: none !important; }
  .scene.play .pill { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .step:hover, .plan:hover { transform: none; }
}

/* --- Pro: nhãn "Save 41%" và nút xanh lá có vệt sáng quét qua (06/10/2026) --- */
.save { display: inline-block; white-space: nowrap; padding: 1px 8px; border-radius: 99px; background: var(--gold-grad); color: var(--gold-ink); font-size: 13px; font-weight: 700; vertical-align: 1px; }
.btn-gold { background: var(--gold-grad); color: var(--gold-ink); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset; }
.btn-gold:hover { background: linear-gradient(100deg, #F9DC80, #F2BE52); color: var(--gold-ink); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(240,185,74,.4); }
.shine { position: relative; overflow: hidden; isolation: isolate; }
.shine::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 45%; background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0) 20%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 80%, transparent 100%); transform: skewX(-18deg); animation: shine 3.6s 1.2s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0% { left: -60%; } 45%, 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .shine::after { animation: none; display: none; } }
.billed { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }

/* =====================================================================
   BỐ CỤC MỚI SAU KHI VIẾT LẠI NỘI DUNG (06/10/2026)
   ===================================================================== */
.hero .kicker { display: inline-block; margin: 0 0 18px; padding: 5px 12px; border-radius: 99px; border: 1px solid #3a3560; background: rgba(169,155,255,.08); color: var(--hero-accent); font-size: 13px; font-weight: 600; letter-spacing: .01em; animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 12px; }
.trust { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--hero-dim); animation: rise .7s .24s cubic-bezier(.2,.7,.2,1) both; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(247,212,107,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23F7D46B' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* Chatbot vs ContextSnap */
.versus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.vs { border-radius: 16px; padding: 26px 26px 22px; border: 1px solid var(--line); background: var(--surface); }
.vs h3 { margin: 0 0 14px; font-size: 18px; }
.vs ol { margin: 0; padding: 0; list-style: none; counter-reset: v; display: grid; gap: 10px; }
.vs li { counter-increment: v; display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 15px; }
.vs li::before { content: counter(v); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; }
.vs-old li { color: var(--dim); }
.vs-old li::before { background: color-mix(in srgb, var(--dim) 14%, transparent); color: var(--dim); }
.vs-new { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 18px 40px rgba(91,75,214,.12); }
.vs-new li::before { background: var(--accent-soft); color: var(--accent); }
.vs-foot { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 650; }
.vs-old .vs-foot { color: var(--dim); }
.vs-new .vs-foot { color: var(--gold); }
@media (max-width: 760px) { .versus { grid-template-columns: 1fr; } }

/* Quyền riêng tư */
.privacy-strip { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 36px; }
.privacy-strip h2.title { margin: 0; }
.privacy-strip ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.privacy-strip li { position: relative; padding-left: 30px; color: var(--dim); font-size: 15px; }
.privacy-strip li strong { color: var(--text); }
.privacy-strip li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c5ce7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center/18px no-repeat; }
@media (max-width: 760px) { .privacy-strip { grid-template-columns: 1fr; padding: 26px; } }

/* Cam kết hoàn tiền */
.guarantee { margin-top: 26px; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 18px 22px; border-radius: 14px; background: var(--gold-soft); color: var(--text); font-size: 15px; }
.guarantee svg { width: 34px; height: 34px; color: var(--gold); }
.guarantee strong { color: var(--gold); }

/* Kêu gọi cuối trang */
section.final { border-top: 0 !important; padding-top: 20px; }
.final-cta { text-align: center; padding: 56px 24px; border-radius: 24px; color: var(--hero-text); background: radial-gradient(700px 300px at 50% -20%, #2c2660 0%, transparent 70%), var(--hero-bg); }
.final-cta h2 { margin: 0 0 12px; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
.final-cta > p { margin: 0 auto 26px; max-width: 34em; color: var(--hero-dim); font-size: 17px; }
.final-cta .final-contact { margin: 22px auto 0; font-size: 14px; }
.final-cta a:not(.btn) { color: var(--hero-accent); }
@media (prefers-reduced-motion: reduce) { .hero .kicker, .trust { animation: none !important; } }

/* =====================================================================
   KHUNG TRẢ LỜI MÔ PHỎNG — chép đúng giao diện "Galaxy" của extension
   (content.js, #contextsnap-popup). Đổi giao diện extension thì sửa cả đây.
   ===================================================================== */
.cs-popup {
  --cs-bg: rgba(11, 12, 22, 0.88); --cs-surface: rgba(255,255,255,.045); --cs-surface-hi: rgba(255,255,255,.085);
  --cs-border: rgba(255,255,255,.085); --cs-text: #EDEEF8; --cs-dim: rgba(237,238,248,.58); --cs-faint: rgba(237,238,248,.34);
  --cs-accent: #8B7BF5; --cs-accent-soft: #B3A8FF; --cs-glow: rgba(124,108,240,.4);
  position: relative; isolation: isolate; overflow: hidden;
  width: min(100%, 430px); margin: -22px -8px 0 auto;
  background: var(--cs-bg); backdrop-filter: blur(30px) saturate(170%); -webkit-backdrop-filter: blur(30px) saturate(170%);
  border: 1px solid var(--cs-border); border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(139,123,245,.08);
  color: var(--cs-text); font-size: 14px; text-align: left;
}
.cs-popup::before { content: ""; position: absolute; top: -170px; left: 50%; width: 480px; height: 330px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(139,123,245,.42) 0%, rgba(110,95,220,.14) 42%, transparent 70%); pointer-events: none; z-index: -1; }
.cs-head { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; height: 48px; padding: 0 12px 0 16px; border-bottom: 1px solid var(--cs-border); }
.cs-head::after { content: ""; position: absolute; width: 340px; height: 340px; border: 1px solid rgba(255,255,255,.055); border-radius: 50%; top: -286px; left: 50%; transform: translateX(-45%); pointer-events: none; }
.cs-title { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; letter-spacing: .2px; }
.cs-title::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 32% 30%, #D9D3FF, var(--cs-accent) 55%, #5B4BD6); box-shadow: 0 0 12px var(--cs-glow); }
.cs-close { width: 27px; height: 27px; display: grid; place-items: center; color: var(--cs-dim); font-size: 17px; }
.cs-content { padding: 16px 16px 6px; display: grid; gap: 16px; }
.cs-quote { background: linear-gradient(100deg, rgba(139,123,245,.13), rgba(139,123,245,.03)); border: 1px solid rgba(139,123,245,.16); border-radius: 12px; padding: 10px 14px; }
.cs-qlabel { font-size: 9px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: var(--cs-accent-soft); margin-bottom: 5px; }
.cs-qtext { font-size: 12.5px; line-height: 1.55; color: var(--cs-dim); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cs-msg { display: grid; gap: 6px; }
.cs-role { display: flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 700; letter-spacing: 1.1px; color: var(--cs-accent-soft); }
.cs-role::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: radial-gradient(circle at 32% 30%, #D9D3FF, var(--cs-accent)); box-shadow: 0 0 8px var(--cs-glow); }
.cs-body { font-size: 13.5px; line-height: 1.65; }
.cs-body p { margin: 0 0 9px; }
.cs-body p:last-child { margin-bottom: 0; }
.cs-body strong { color: #B3A8FF; font-weight: 650; }
.cs-related { display: grid; gap: 7px; padding-top: 12px; border-top: 1px solid var(--cs-border); }
.cs-rlabel { font-size: 9.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--cs-faint); }
.cs-chip { display: flex; align-items: center; gap: 10px; padding: 9px 13px; border-radius: 12px; background: var(--cs-surface); border: 1px solid var(--cs-border); font-size: 12.5px; line-height: 1.35; }
.cs-arrow { color: var(--cs-accent-soft); font-size: 13px; }
.cs-composer { display: grid; gap: 8px; padding: 12px 16px 13px; margin-top: 10px; border-top: 1px solid var(--cs-border); background: rgba(255,255,255,.022); }
.cs-box { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: rgba(6,7,15,.45); border: 1px solid var(--cs-border); border-radius: 14px; padding: 6px 6px 6px 14px; }
.cs-ph { font-size: 13px; color: var(--cs-faint); }
.cs-send { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 15px; background: radial-gradient(circle at 34% 28%, #9B85FF 0%, #7C5CFC 55%, #6A3FE0 100%); box-shadow: 0 4px 16px rgba(124,92,252,.55), 0 0 22px rgba(124,92,252,.35); }
.cs-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 3px; }
.cs-toggles { display: flex; gap: 7px; }
.cs-ctx, .cs-web { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--cs-border); border-radius: 999px; padding: 3px 10px 3px 8px; font-size: 10.5px; color: var(--cs-faint); }
.cs-ctx { color: var(--cs-accent-soft); border-color: rgba(150,137,255,.35); background: rgba(139,123,245,.1); }
.cs-ctx::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cs-accent-soft); box-shadow: 0 0 8px var(--cs-glow); }
.cs-web::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.3px solid var(--cs-faint); }
.cs-hint { font-size: 10px; color: var(--cs-faint); white-space: nowrap; }
@media (max-width: 860px) { .cs-popup { margin: -18px 0 0 auto; } }

/* =====================================================================
   HERO: 3 CẢNH LUÂN PHIÊN (thống kê / figure / phương trình) + bố cục lại
   ===================================================================== */
.hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero .wrap > div:first-child { max-width: 560px; }
.demo-col { min-width: 0; display: grid; gap: 18px; }
.demo { display: grid; }
.scene { grid-area: 1 / 1; min-width: 0; transition: opacity .45s ease; }
.demo.js .scene { opacity: 0; visibility: hidden; }
.demo.js .scene.active { opacity: 1; visibility: visible; }
.demo.js .scene.out { opacity: 0; }

.scene-tabs { display: flex; justify-content: center; gap: 6px; }
.scene-tabs button { position: relative; overflow: hidden; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--hero-dim); background: rgba(255,255,255,.04); border: 1px solid #2c2c42; border-radius: 99px; padding: 6px 14px; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.scene-tabs button:hover { color: var(--hero-text); border-color: #45406e; }
.scene-tabs button.on { color: #fff; border-color: rgba(169,155,255,.55); background: rgba(139,123,245,.16); }
.scene-tabs button.on::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--hero-accent); transform-origin: left; animation: tabprog var(--cycle, 9.5s) linear both; }
.scene-tabs.paused button.on::after { animation: none; transform: scaleX(1); }
@keyframes tabprog { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Figure trong cảnh 2 + khung chụp vùng */
.fig { position: relative; margin: 2px 0 8px; }
.fig svg { display: block; width: 100%; height: auto; }
.caption { font-size: 12.5px; color: #8d8da6; line-height: 1.5; }
.snap-dim, .snap-box { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.snap-dim { background: rgba(6,6,14,.45); border-radius: 8px; }
.snap-box { inset: auto; top: 0; left: 0; width: 100%; height: 100%; border: 2px dashed var(--hero-accent); border-radius: 6px; }
.scene.play .snap-dim { animation: snapdim 2.2s .4s ease both; }
.scene.play .snap-box { animation: snapbox 2.2s .4s cubic-bezier(.3,.7,.2,1) both; }
@keyframes snapdim { 0% { opacity: 0; } 15%, 70% { opacity: 1; } 100% { opacity: 0; } }
@keyframes snapbox { 0% { opacity: 1; width: 4%; height: 6%; } 45% { opacity: 1; width: 100%; height: 100%; } 70% { opacity: 1; width: 100%; height: 100%; background: rgba(169,155,255,0); } 76% { background: rgba(255,255,255,.35); } 100% { opacity: 0; width: 100%; height: 100%; background: rgba(169,155,255,0); } }

/* Chi tiết lấy từ đoạn văn sáng lên cùng lúc với câu trả lời nhắc tới nó */
.ctx-hit { border-radius: 4px; padding: 0 2px; margin: 0 -2px; }
.scene.play .ctx-hit { animation: ctxhit 2.4s 3.6s ease both; }
.scene.play .ctx-ref { animation: ctxref 2.4s 3.6s ease both; border-radius: 4px; }
@keyframes ctxhit { 0% { background: transparent; color: inherit; } 20%, 60% { background: rgba(139,123,245,.38); color: #fff; box-shadow: 0 0 18px rgba(139,123,245,.45); } 100% { background: rgba(139,123,245,.14); color: #e6e3ff; box-shadow: none; } }
@keyframes ctxref { 0% { background: transparent; } 20%, 60% { background: rgba(139,123,245,.30); box-shadow: 0 0 14px rgba(139,123,245,.4); } 100% { background: transparent; box-shadow: none; } }

/* Ô trích dẫn dạng ảnh */
.cs-quote-img { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cs-quote-img .cs-qlabel { margin: 0; }
.cs-thumb { width: 78px; height: 40px; border-radius: 6px; background: #171826; border: 1px solid rgba(255,255,255,.08); display: flex; align-items: flex-end; justify-content: space-around; padding: 5px 8px 4px; }
.cs-thumb i { width: 13px; border-radius: 2px 2px 0 0; background: #8b7bf5; }
.cs-thumb i:first-child { background: #6b6a8a; }
.cs-thumb i:last-child { background: #b3a8ff; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero .wrap > div:first-child { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-tabs button.on::after { animation: none; transform: scaleX(1); }
  .scene.play .snap-dim, .scene.play .snap-box, .scene.play .ctx-hit, .scene.play .ctx-ref { animation: none !important; }
}
/* Không có JavaScript: chỉ hiện cảnh đầu tiên, ẩn hai cảnh còn lại và các nút chuyển cảnh. */
.demo:not(.js) .scene:not(:first-child) { display: none; }
.demo:not(.js) + .scene-tabs { display: none; }
.scene { align-self: center; }
.trust { gap: 8px 16px; font-size: 13.5px; }
.scene-tabs { order: -1; }
.scene { align-self: start; }
/* Cột chữ bên trái canh theo mép trên của khung minh hoạ, không trôi xuống giữa */
@media (min-width: 861px) {
  .hero { padding-block: 56px 64px; }
  .hero .wrap { align-items: start; }
  .hero .wrap > div:first-child { padding-top: 76px; }
}

/* 13/10/2026: "three times?" to chu do (Linh chot sau khi thu net co xanh,
   gach luon song, to nen do, gach chan thang). */
.brush { white-space: nowrap; color: #ef4444; font-style: italic; padding-right: .04em; }
.hero h1 { position: relative; z-index: 0; isolation: isolate; }

/* =====================================================================
   MINH HOẠ ĐỘNG CHO "HOW IT WORKS", "CHATBOT" VÀ "PRIVACY" (06/10/2026)
   - Mặc định (không JS, giảm chuyển động): hiện trạng thái cuối, đầy đủ.
   - site.js thêm "armed" (ẩn sẵn) rồi "live" khi cuộn tới để chạy.
   ===================================================================== */
:root { --ill-l: #dedde9; --ill-s: #b9b0f3; --ill-card: #ffffff; --ill-card-b: #e3e1f0; --ill-acc: #6c5ce7; --ill-bar: #c9c3f5; }
/* giao dien toi (luon bat tu 13/10/2026) */
 :root { --ill-l: #2f2f45; --ill-s: #6f63d6; --ill-card: #1d1e2c; --ill-card-b: #34344c; --ill-acc: #8b7bf5; --ill-bar: #4a4380; } 


.step { display: flex; flex-direction: column; }
.step::before { display: none; }
.ill { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px; margin-bottom: 16px; }
.ill svg { display: block; width: 100%; height: auto; overflow: visible; }
.ill .l { fill: var(--ill-l); }
.ill .ls { fill: var(--ill-s); }
.ill .hl { fill: var(--hi); transform-box: fill-box; transform-origin: left center; }
.ill .acc { fill: var(--ill-acc); }
.ill text { fill: #fff; font-size: 11px; font-weight: 700; font-family: var(--font); }
.ill .cur { fill: var(--text); stroke: var(--surface); stroke-width: 1.2; }
.ill .cd { fill: var(--ill-card); stroke: var(--ill-card-b); }
.ill .cd2 { fill: var(--ill-bar); }
.ill .bar { fill: var(--ill-bar); }
.ill .b3 { fill: var(--ill-acc); }
.ill .snap { fill: none; stroke: var(--ill-acc); stroke-width: 2; stroke-dasharray: 6 4; }
.ill .flash { fill: #fff; opacity: 0; }
.ill .pop, .ill .card, .ill .badge { transform-box: fill-box; transform-origin: center; }

.keys { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.keys kbd { min-width: 34px; height: 34px; padding: 0 9px; display: inline-grid; place-items: center; font-family: var(--font); font-size: 16px; font-weight: 600; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-bottom-width: 4px; border-radius: 8px; box-shadow: 0 2px 0 rgba(0,0,0,.04); }
.keys .win { font-size: 12.5px; color: var(--dim); margin-left: 6px; }

/* Vòng lặp 6 giây cho từng hình minh hoạ */
.step.armed .ill .hl { transform: scaleX(0); }
.step.armed .ill .pop, .step.armed .ill .card, .step.armed .ill .cur, .step.armed .ill .snap, .step.armed .ill .badge { opacity: 0; }
.step.live .ill-sel .hl { animation: i-hl 6s infinite; }
.step.live .ill-sel .pop { animation: i-pop 6s infinite; }
.step.live .ill-sel .cur { animation: i-cur 6s infinite; }
.step.live .ill-sel .card { animation: i-card 6s infinite; }
.step.live .ill-cap .snap { animation: i-snap 6s infinite; }
.step.live .ill-cap .flash { animation: i-flash 6s infinite; }
.step.live .ill-cap .card { animation: i-card2 6s infinite; }
.step.live .ill-dual .s1, .step.live .ill-dual .g1 { animation: i-s1 6s infinite; }
.step.live .ill-dual .s2, .step.live .ill-dual .g2 { animation: i-s2 6s infinite; }
.step.live .ill-dual .card { animation: i-card3 6s infinite; }
.step.live .keys kbd { animation: i-key 6s infinite; }
.step.live .keys kbd:nth-of-type(2) { animation-delay: .08s; }
.step.live .keys kbd:nth-of-type(3) { animation-delay: .16s; }
@keyframes i-hl { 0%, 5% { transform: scaleX(0); } 22%, 88% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }
@keyframes i-pop { 0%, 24% { opacity: 0; transform: scale(.7); } 30%, 46% { opacity: 1; transform: scale(1); } 52%, 100% { opacity: 0; transform: scale(.9); } }
@keyframes i-cur { 0%, 22% { opacity: 0; transform: translate(30px, 20px); } 30% { opacity: 1; transform: translate(30px, 20px); } 40% { opacity: 1; transform: translate(-14px, -6px); } 44% { transform: translate(-14px, -6px) scale(.85); } 48%, 60% { opacity: 1; transform: translate(-14px, -6px); } 66%, 100% { opacity: 0; } }
@keyframes i-card { 0%, 48% { opacity: 0; transform: translateY(10px) scale(.95); } 56%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes i-snap { 0%, 4% { opacity: 0; clip-path: inset(0 100% 100% 0); } 6% { opacity: 1; clip-path: inset(0 100% 100% 0); } 30%, 88% { opacity: 1; clip-path: inset(0 0 0 0); } 96%, 100% { opacity: 0; } }
@keyframes i-flash { 0%, 32% { opacity: 0; } 36% { opacity: .5; } 44%, 100% { opacity: 0; } }
@keyframes i-card2 { 0%, 42% { opacity: 0; transform: translateX(-12px) scale(.95); } 52%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes i-s1 { 0%, 4% { opacity: 0; clip-path: inset(0 100% 100% 0); } 8% { opacity: 1; } 24%, 88% { opacity: 1; clip-path: inset(-12px -12px -12px -12px); } 96%, 100% { opacity: 0; } }
@keyframes i-s2 { 0%, 30% { opacity: 0; clip-path: inset(0 100% 100% 0); } 34% { opacity: 1; } 48%, 88% { opacity: 1; clip-path: inset(-12px -12px -12px -12px); } 96%, 100% { opacity: 0; } }
@keyframes i-card3 { 0%, 54% { opacity: 0; transform: translateX(-10px) scale(.95); } 62%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes i-key { 0%, 2% { transform: none; border-bottom-width: 4px; } 5% { transform: translateY(3px); border-bottom-width: 1px; background: var(--accent-soft); } 10%, 100% { transform: none; border-bottom-width: 4px; } }

/* ---- Cuộc đua: chatbot (5 bước) và ContextSnap (2 bước) ---- */
.race { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lane { border-radius: 16px; padding: 24px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 14px; }
.lane-new { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 18px 40px rgba(91,75,214,.12); }
.lane-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.lane-head h3 { margin: 0; font-size: 18px; }
.lane-count { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.lane-old .lane-count { background: color-mix(in srgb, var(--dim) 14%, transparent); color: var(--dim); }
.lane-new .lane-count { background: var(--gold-soft); color: var(--gold); }
.race-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.race-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; font-size: 15px; }
.ri { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.ri svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lane-old li { color: var(--dim); }
.lane-old .ri { background: color-mix(in srgb, var(--dim) 12%, transparent); color: var(--dim); }
.lane-new .ri { background: var(--accent-soft); color: var(--accent); }
.lane-bar { height: 6px; border-radius: 99px; background: color-mix(in srgb, var(--dim) 14%, transparent); overflow: hidden; margin-top: auto; }
.lane-bar i { display: block; height: 100%; width: 100%; border-radius: 99px; transform-origin: left; }
.lane-old .lane-bar i { background: #e2a03f; }
.lane-new .lane-bar i { background: var(--gold-grad); }
.lane-foot { margin: 0; font-size: 14px; color: var(--dim); font-weight: 600; }
.lane-done { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--gold); }
.lane-done svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--gold-soft); fill: none; stroke: var(--gold); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.race.armed .race-steps li, .race.armed .lane-foot, .race.armed .lane-done { opacity: 0; transform: translateY(8px); }
.race.armed .lane-bar i { transform: scaleX(0); }
.race.live .lane-old .race-steps li { animation: rise .45s calc(var(--s) * .75s + .2s) both; }
.race.live .lane-old .lane-bar i { animation: barfill 3.8s .2s linear both; }
.race.live .lane-old .lane-foot { animation: rise .45s 4s both; }
.race.live .lane-new .race-steps li { animation: rise .45s calc(var(--s) * .55s + .2s) both; }
.race.live .lane-new .lane-bar i { animation: barfill 1.1s .2s cubic-bezier(.3,.7,.3,1) both; }
.race.live .lane-done { animation: donepop .5s 1.35s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes barfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes donepop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .race { grid-template-columns: 1fr; } }

/* ---- Sơ đồ đường đi dữ liệu (Privacy) ---- */
.flow { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 64px minmax(0,1fr) 64px minmax(0,1fr); align-items: start; gap: 0; padding: 30px 26px 64px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.node { text-align: center; display: grid; justify-items: center; gap: 6px; }
.node-ill { width: 120px; height: 76px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); }
.node-ill svg { width: 100px; height: 60px; }
.node-ill .pg { fill: var(--ill-card); stroke: var(--ill-card-b); }
.node-ill .l { fill: var(--ill-l); }
.node-ill .hl { fill: var(--hi); }
.node-ill .sh { fill: var(--ill-card); stroke: var(--ill-acc); stroke-width: 2.5; stroke-linejoin: round; }
.node-ill .tick { fill: none; stroke: #F0B94A; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.node-ill .spark { fill: var(--ill-acc); }
.node-ill .s2 { opacity: .6; }
.node h3 { margin: 6px 0 0; font-size: 16px; }
.node p { margin: 0; font-size: 14px; color: var(--dim); max-width: 22ch; }
.node p strong { color: var(--text); }
.pipe { position: relative; height: 2px; margin-top: 38px; background: repeating-linear-gradient(90deg, var(--ill-s) 0 6px, transparent 6px 11px); }
.pipe::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 8px solid var(--ill-s); }
.pipe i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--hi); box-shadow: 0 0 10px var(--hi); opacity: 0; }
.flow.live .pipe i { animation: dot 3s infinite; }
.flow.live .pipe:nth-of-type(4) i { animation-delay: 1s; }
@keyframes dot { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 60% { left: calc(100% - 10px); opacity: 1; } 70%, 100% { left: calc(100% - 10px); opacity: 0; } }
.return { position: absolute; left: 12%; right: 12%; bottom: 20px; height: 22px; border: 2px dashed #e9c25e; border-top: 0; border-radius: 0 0 16px 16px; }
.return::before { content: ""; position: absolute; left: -7px; top: -9px; border: 6px solid transparent; border-bottom: 9px solid #e9c25e; }
.return span { position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%); background: var(--surface); padding: 0 10px; font-size: 13px; font-weight: 600; color: var(--gold); white-space: nowrap; }
.never { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 18px; font-size: 14px; }
.never-label { font-weight: 700; color: var(--text); margin-right: 4px; }
.chip-x { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 99px; border: 1px solid var(--line); color: var(--dim); }
.chip-x s { text-decoration-color: #e5484d; text-decoration-thickness: 2px; }
.chip-x::before { content: "✕"; font-size: 11px; color: #e5484d; }
.never a { margin-left: auto; font-weight: 600; }
.flow.armed .node { opacity: 0; transform: translateY(10px); }
.flow.armed .return { opacity: 0; }
.flow.live .node { animation: rise .5s both; }
.flow.live .node:nth-of-type(1) { animation-delay: .1s; }
.flow.live .node:nth-of-type(3) { animation-delay: .5s; }
.flow.live .node:nth-of-type(5) { animation-delay: .9s; }
.flow.live .return { animation: fade .6s 1.4s both; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 6px; padding: 26px 20px 30px; }
  .pipe { width: 2px; height: 40px; margin: 4px auto; background: repeating-linear-gradient(180deg, var(--ill-s) 0 6px, transparent 6px 11px); }
  .pipe::after { right: auto; left: -5px; top: auto; bottom: -4px; border: 6px solid transparent; border-top: 8px solid var(--ill-s); }
  .pipe i { display: none; }
  .return { position: static; height: auto; border: 0; margin-top: 14px; text-align: center; }
  .return::before { display: none; }
  .return span { position: static; transform: none; white-space: normal; background: none; padding: 0; }
  .never a { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .step.live *, .race.live *, .flow.live * { animation: none !important; }
}

/* =====================================================================
   MỤC "READ SCIENCE IN ANY LANGUAGE" (06/10/2026)
   ===================================================================== */
.lang-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.stat { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.stat-num { font-size: clamp(34px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1; }
.stat p { margin: 0; font-size: 15px; color: var(--text); }
.stat .src { display: block; margin-top: 4px; font-size: 12.5px; color: var(--dim); }
.lang-demos { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; }
.lang-card { background: var(--hero-bg); color: var(--hero-text); border-radius: 18px; padding: 22px; border: 1px solid #262640; box-shadow: 0 18px 40px rgba(10,10,30,.18); display: grid; gap: 14px; min-width: 0; }
.lang-card-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lang-tag { font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 4px 10px; border-radius: 99px; border: 1px solid #34344c; color: var(--hero-dim); }
.lang-tag-on { border-color: rgba(169,155,255,.5); color: var(--hero-accent); background: rgba(139,123,245,.12); }
.lang-arrow { color: var(--hero-dim); }
.lang-source { background: #171826; border: 1px solid #2a2a40; border-radius: 12px; padding: 14px 16px; color: #c6c6d8; font-size: 15px; line-height: 1.6; }
.lang-source mark.static { background: var(--hi); color: #1d1a10; border-radius: 3px; padding: 1px 3px; }
.lang-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lang-chips button { font: inherit; font-size: 13px; font-weight: 600; color: var(--hero-dim); background: rgba(255,255,255,.04); border: 1px solid #2c2c42; border-radius: 99px; padding: 5px 12px; cursor: pointer; transition: all .2s; }
.lang-chips button:hover { color: var(--hero-text); border-color: #45406e; }
.lang-chips button.on { color: #fff; border-color: rgba(169,155,255,.6); background: rgba(139,123,245,.22); }
.lang-answer { position: relative; display: grid; gap: 6px; background: rgba(11,12,22,.88); border: 1px solid rgba(255,255,255,.085); border-radius: 14px; padding: 14px 16px; }
.lang-answer .cs-role { color: #B3A8FF; }
.lang-answer .la { margin: 0; font-size: 14.5px; line-height: 1.65; }
.lang-answer .la strong { color: #B3A8FF; font-weight: 650; }
.lang-note { margin: 0; font-size: 13px; color: var(--hero-dim); }
/* Có JavaScript: các bản dịch chồng lên nhau, chỉ hiện ngôn ngữ đang chọn */
[data-langdemo].js .lang-answer { grid-template-areas: "role" "txt"; }
[data-langdemo].js .lang-answer .cs-role { grid-area: role; }
[data-langdemo].js .lang-answer .la { grid-area: txt; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease, visibility 0s .35s; }
[data-langdemo].js .lang-answer .la.on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .35s ease; }
/* Không có JavaScript: hiện bản tiếng Anh và vài bản dịch đầu, ẩn nút chọn */
[data-langdemo]:not(.js) .lang-chips { display: none; }
[data-langdemo]:not(.js) .la:not(.on) { display: none; }
@media (max-width: 860px) { .lang-stats, .lang-demos { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .stat { grid-template-columns: 1fr; gap: 8px; } }
.lang-answer { --cs-accent: #8B7BF5; --cs-accent-soft: #B3A8FF; --cs-glow: rgba(124,108,240,.4); }

/* =====================================================================
   ĐỢT SỬA THIẾT KẾ (06/10/2026, sau buổi rà soát)
   ===================================================================== */

/* Menu trong suốt khi còn nằm trên hero, cuộn qua hero thì về màu thường.
   Chỉ khi có JavaScript (class "js" gắn ở <head>); không có JS thì menu như cũ. */
.js .hero { margin-top: -61px; border-top: 61px solid transparent; background-origin: border-box; }
.top { transition: background-color .25s, border-color .25s, box-shadow .2s; }
.js .top.on-hero { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; box-shadow: none; }
.js .top.on-hero .brand { color: var(--hero-text); }
.js .top.on-hero .nav a:not(.btn) { color: var(--hero-dim); }
.js .top.on-hero .nav a:not(.btn):hover { color: #fff; }

/* Dòng nhỏ trên tiêu đề: ngắn lại, một dòng; điện thoại thì bỏ khung */
.hero .kicker { white-space: nowrap; }
@media (max-width: 560px) {
  .hero .kicker { white-space: normal; padding: 0; border: 0; background: none; }
}

/* Nơi dùng được */
.works-on { margin: 18px 0 0; font-size: 13.5px; color: var(--hero-dim); animation: rise .7s .3s cubic-bezier(.2,.7,.2,1) both; }
.works-on span { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #74748a; margin-right: 8px; }
@media (prefers-reduced-motion: reduce) { .works-on { animation: none !important; } }

/* Điện thoại: nút rộng hết hàng, có dòng giải thích cài trên máy tính */
.mobile-note { margin: 16px 0 0; font-size: 14px; color: var(--hero-dim); }
@media (max-width: 560px) {
  .hero .ctas .btn { width: 100%; }
}
.share-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 50; max-width: calc(100% - 32px); background: #17171f; color: #fff; font-size: 14px; padding: 12px 16px; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.25); transition: opacity .25s, transform .25s; pointer-events: none; }
.share-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* Ô "With ContextSnap": hình nhỏ câu trả lời hiện ngay cạnh đoạn đang đọc */
.lane-mini { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0; padding: 6px 0 4px; min-height: 120px; }
.mini-page, .mini-pop { border-radius: 10px; display: grid; gap: 7px; align-content: start; }
.mini-page { width: 46%; max-width: 210px; padding: 14px; background: var(--bg); border: 1px solid var(--line); }
.mini-page i, .mini-pop i { display: block; height: 6px; border-radius: 3px; background: var(--ill-l); }
.mini-page i.mh { background: var(--hi); width: 82%; }
.mini-page i.ms, .mini-pop i.ms { width: 60%; }
.mini-pop { width: 40%; max-width: 180px; padding: 12px; margin-left: -18px; margin-top: 34px; background: var(--ill-card); border: 1.5px solid var(--accent); box-shadow: 0 10px 26px rgba(91,75,214,.18); }
.mini-pop b { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.race.armed .mini-pop { opacity: 0; transform: translateY(8px) scale(.96); }
.race.live .mini-pop { animation: donepop .5s 1s cubic-bezier(.3,1.6,.5,1) both; }
@media (max-width: 760px) { .lane-mini { display: none; } }

/* Nút chọn ngôn ngữ: vừa một hàng trên máy tính */
.lang-chips { gap: 5px; }
.lang-chips button { font-size: 12.5px; padding: 4px 8px; }
.lang-chips { gap: 4px; }

/* "Never sent": chữ thường, chỉ giữ dấu ✕ */
.chip-x { color: var(--text); }

/* Bảng giá: 3 cột Free / Pro / Lab, Founding là dải ngang bên dưới */
.plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.plan { padding: 26px 24px; }
@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  /* Giữ thứ tự Free → Pro → Lab trên điện thoại (trước đây order:-1 đẩy Pro lên đầu) */
  .plan.featured { margin-bottom: 4px; }
}
.founding { margin-top: 18px; display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center; padding: 22px 26px; border-radius: 16px; background: var(--hero-bg); color: var(--hero-text); border: 1px solid #2c2a4a; background-image: radial-gradient(600px 200px at 0% 0%, rgba(139,123,245,.22), transparent 70%); }
.founding h3 { margin: 6px 0 4px; font-size: 19px; letter-spacing: -0.01em; }
.founding p { margin: 0; font-size: 14.5px; color: var(--hero-dim); }
.f-tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #f7d46b; }
.f-buy { display: flex; align-items: center; gap: 18px; }
.f-buy .price { color: #fff; white-space: nowrap; }
.f-buy .price small { color: var(--hero-dim); }
.f-buy .btn { color: #fff; border-color: #4a4570; white-space: nowrap; }
.f-buy .btn:hover { border-color: var(--hero-accent); color: #fff; }
@media (max-width: 860px) {
  .founding { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .f-buy { justify-content: space-between; }
}
@media (max-width: 860px) { .guarantee, .pricing-foot { max-width: 520px; margin-inline: auto; } }

/* FAQ: 2 cột trên máy tính */
.faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; align-items: start; }
.faq-col { display: grid; gap: 10px; }
@media (max-width: 820px) { .faq { grid-template-columns: 1fr; } }

/* ===================== ĐỢT COPY THEO HORMOZI (09/10/2026) ===================== */
/* Khối "cái giá của việc bị kẹt" ngay trên bảng giá */
.cost { margin: 18px 0 0; padding: 22px 26px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.cost h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: -0.01em; }
.cost-lead { margin: 0 0 16px; color: var(--dim); font-size: 15px; }
.cost-math { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.cost-math .cm { flex: 1 1 140px; display: grid; gap: 2px; align-content: center; padding: 12px 16px; border-radius: 12px; background: var(--accent-soft); }
.cost-math .cm b { font-size: 22px; letter-spacing: -0.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.cost-math .cm span { font-size: 13.5px; color: var(--dim); line-height: 1.35; }
.cost-math .cm.hl { background: var(--hero-bg); flex-basis: 200px; }
.cost-math .cm.hl b { color: #fff; }
.cost-math .cm.hl span { color: var(--hero-dim); }
.cost-math .op { align-self: center; font-size: 20px; font-weight: 600; color: var(--dim); }
.cost-foot { margin: 16px 0 0; font-size: 15.5px; }
.cost-foot strong { color: var(--gold); }
/* giao dien toi (luon bat tu 13/10/2026) */
  .cost-math .cm.hl { background: var(--accent); }
  .cost-math .cm.hl b { color: #14121f; }
  .cost-math .cm.hl span { color: #2b2650; }

@media (max-width: 560px) {
  .cost { padding: 18px; }
  .cost-math { flex-direction: column; }
  .cost-math .cm, .cost-math .cm.hl { flex-basis: auto; }
  .cost-math .op { align-self: flex-start; padding-left: 16px; line-height: 1; }
}
/* Dòng hoàn tiền dưới nút mua */
.plan .note { margin-top: -4px; }
.f-cta { display: grid; gap: 6px; justify-items: center; }
.f-note { margin: 0; font-size: 12.5px; color: var(--hero-dim); white-space: nowrap; }
@media (max-width: 760px) { .f-cta { justify-items: stretch; } .f-note { text-align: center; white-space: normal; } }
@media (max-width: 860px) { .cost { max-width: 520px; margin-inline: auto; } }


/* ===== Câu chuyện mới (13/10/2026): Tried → Fixes → Is this you ===== */
.tried { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.tc-tool { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.tc-good { margin: 0 0 8px; font-size: 15px; color: var(--dim); }
.tc-pain { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.45; }
@media (max-width: 960px) { .tried { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tried { grid-template-columns: 1fr; } }

.fixes { display: grid; gap: 12px; max-width: 860px; }
.fx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 22px; }
.fx-old { margin: 0; color: var(--dim); text-decoration: line-through; text-decoration-color: rgba(220, 70, 70, .55); text-decoration-thickness: 1.5px; font-size: 15px; }
.fx-new { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.5; position: relative; padding-left: 26px; }
.fx-new::before { content: "✓"; position: absolute; left: 2px; top: 0; color: var(--gold); font-weight: 800; }
.fx-new b { color: var(--accent); }
.fx-new kbd { font-family: var(--font); font-size: 12px; font-weight: 700; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; background: var(--bg); }
@media (max-width: 640px) { .fx { grid-template-columns: 1fr; gap: 6px; } }

.moments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.mo { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.mo p { margin: 0; color: var(--dim); }
.mo .mo-when { color: var(--text); font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.mo-who { margin-top: auto; padding-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--accent); }
@media (max-width: 860px) { .moments { grid-template-columns: 1fr; } }

/* 3 nút kiểu giải thích trong khung demo (giống extension) */
.cs-modes { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 12px; }
.cs-modes span { font-size: 11.5px; font-weight: 600; color: var(--cs-accent-soft); border: 1px solid var(--cs-border); border-radius: 999px; padding: 4px 11px; background: var(--cs-surface); }
.scene.play .cs-modes { animation: fade .4s 4.05s both; }


/* ===== Typography (13/10/2026): thang chu va tieu de serif =====
   Dat cuoi file de de doc/de go: chi ghi de co, do dam, font. */
/* Tieu de: serif, dam vua (serif dam qua nhin nang), tracking nhe hon sans */
.hero h1, h2.title, .final-cta h2, .doc h1, .doc h2 {
  font-family: var(--serif); font-weight: 600; font-optical-sizing: auto;
  font-variation-settings: "opsz" 60;
}
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.06; letter-spacing: -0.022em; }
h2.title { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.018em; }
.final-cta h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -0.016em; }
.doc h1 { letter-spacing: -0.015em; }
/* Doan dan: Inter, nhe hon, de doc */
.hero p.lead { font-size: 19px; line-height: 1.55; letter-spacing: -0.006em; }
p.sub { font-size: 18px; line-height: 1.6; letter-spacing: -0.004em; }
/* Nhan nho tren moi muc: nho, gian, nhe */
.eyebrow { font-size: 12px; font-weight: 650; letter-spacing: .14em; }
.hero .kicker { font-weight: 550; letter-spacing: .005em; }
/* Bot chu dam: nhan bang co chu, khong bang do dam */
.tc-tool { font-size: 12px; font-weight: 650; letter-spacing: .12em; }
.tc-pain { font-size: 17px; font-weight: 500; line-height: 1.5; letter-spacing: -0.006em; }
.fx-new { font-weight: 500; letter-spacing: -0.006em; }
.fx-new b { font-weight: 600; }
.mo .mo-when { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -0.012em; font-variation-settings: "opsz" 32; }
.mo-who { font-weight: 600; letter-spacing: .01em; }
.step h3, .plan h3, .node h3 { font-weight: 600; letter-spacing: -0.01em; }
.price { font-weight: 650; letter-spacing: -0.025em; }
/* FAQ: cau hoi noi, cau tra loi nhe */
.faq summary { font-weight: 600; letter-spacing: -0.006em; }
.faq details p { font-size: 15px; line-height: 1.65; }
/* Khung demo: doan van mau la "paper" -> serif; cau tra loi AI giu sans nhu extension */
.paper, .lang-source { font-family: var(--serif); font-variation-settings: "opsz" 16; }
.paper h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }
.paper .meta { font-family: var(--font); }
/* So lieu: so deu cot */
.stat-num, .price { font-variant-numeric: tabular-nums; }
.stat-num { font-family: var(--serif); font-weight: 600; }
/* Dien thoai: nut menu khong xuong dong, doan dan nho lai cho de doc */
.nav .btn { white-space: nowrap; }
@media (max-width: 640px) {
  .hero p.lead { font-size: 17px; }
  p.sub { font-size: 16.5px; }
  .mo .mo-when { font-size: 20px; }
}
