/* VASK funnel · @thy.grows — E3 "Sang & tri thức"
   Xanh sâu #0d2f5f mang trọng lượng, xanh #3174c2 + ánh xanh băng #a8d6ff mang tự do và ánh sáng.
   Tiêu đề Noto Serif Display mảnh, chữ tay Allura cho lời của Thy, thân bài Be Vietnam Pro.
   Nhấn mạnh = đổi màu + đậm hơn, không dùng vệt dạ quang.
   Giữ nguyên mọi class / data-v mà vask.js dùng. */

:root {
  --deep: #0d2f5f;
  --deep-2: #0a2650;
  --blue: #3174c2;
  --blue-hi: #1f6fd1;
  --ice: #a8d6ff;
  --ice-soft: #c9dcf3;
  --ground: #f7fbff;
  --tint: #f2f8ff;
  --sky-1: #eaf4ff;
  --line: #d3e3f7;
  --ink: #14325c;
  --muted: #4d6a91;
  --muted-2: #5d7699;
  --rose: #b4473f;
  --ok: #2f7a5a;

  /* alias cho style inline cũ trong thanh-toan.html */
  --gold: var(--blue); --gold-deep: var(--blue-hi); --gold-soft: var(--sky-1); --gold-hi: var(--ice);
  --cream: var(--ground); --cream-2: var(--tint); --cream-3: var(--line); --night: var(--deep);

  --serif: "Noto Serif Display", "Times New Roman", serif;
  --script: "Allura", "Segoe Script", cursive;
  --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --max: 1248px;
  --max-text: 760px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --gut: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
  --section: clamp(4.5rem, 10vw, 9rem);
  --card: 0 30px 70px -40px rgba(13, 47, 95, .45);
  --glow: radial-gradient(circle, rgba(120,185,255,.55) 0%, rgba(49,116,194,.45) 35%, rgba(49,116,194,0) 68%);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--ground); scrollbar-color: #9cc3f0 var(--tint); }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; caret-color: var(--blue); }
::selection { background: #cfe4ff; color: var(--deep); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-hi); text-underline-offset: .2em; }
a:hover { color: var(--deep); }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.wrap--text { max-width: calc(var(--max-text) + 40px); }
.sec { position: relative; padding-block: var(--section); background: #ffffff; }
.sec--tint, .sec--paper { background: var(--tint); }

/* ---------- chữ ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; line-height: 1.08; margin: 0; letter-spacing: -.018em; text-wrap: balance; color: var(--deep); }
h1 { font-size: clamp(2.6rem, 6.2vw, 5.5rem); line-height: 1.06; }
h2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h4 { font-size: 1.55rem; font-weight: 400; line-height: 1.25; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--blue-hi); }
p { margin: 0; }
.kicker { font-family: var(--script); font-size: clamp(2.1rem, 4vw, 2.9rem); line-height: 1.05; color: var(--blue-hi); margin-bottom: .9rem; }
.lead { font-size: 1.12rem; color: var(--muted); }
.stack > * + * { margin-top: 1.1em; }
.stack > .kicker + h2 { margin-top: 0; }
.stack > h2 + p { margin-top: 1.6em; }
.center { text-align: center; }
.sec .wrap--text > p, .sec .stack > p { color: var(--muted); }
mark { background: none; color: var(--deep); font-weight: 600; }
strong { font-weight: 600; color: var(--deep); }
.small { font-size: .9rem; color: var(--muted-2); }
.sec > .wrap--text.stack > .kicker, .sec > .wrap--text.stack > h2 { text-align: center; }

/* ---------- nút ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 56px; padding: .9rem 2.2rem; border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--sans); font-weight: 600; font-size: 1.05rem; text-decoration: none; text-align: center; text-wrap: balance;
  color: #fff; background: var(--blue);
  box-shadow: 0 0 0 1px rgba(168,214,255,.5), 0 0 34px rgba(80,160,255,.45);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .2s ease;
}
.btn:hover { color: #fff; background: #2a66ad; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(168,214,255,.6), 0 0 46px rgba(80,160,255,.6); }
.btn:active { transform: none; }
.btn--block { width: 100%; }
.btn--ghost { color: var(--deep); background: transparent; box-shadow: inset 0 0 0 1px var(--deep); }
.btn--ghost:hover { color: var(--deep); background: var(--sky-1); box-shadow: inset 0 0 0 1px var(--deep); }
.btn--dark { color: #fff; background: var(--deep); box-shadow: 0 14px 30px -8px rgba(13,47,95,.6); }
.btn--dark:hover { background: #12397a; }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--deep-2); color: #cfe6ff; font-size: .88rem; text-align: center; }
.topbar .wrap { padding-block: .6rem; }
.topbar b { color: #fff; font-weight: 600; }
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(13, 47, 95, .92); backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid rgba(168,214,255,.15); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .1em; color: #fff; text-decoration: none; white-space: nowrap; }
.brand span { font-family: var(--script); font-size: 1.25em; letter-spacing: 0; color: var(--ice); margin-left: .15em; }
.nav { display: flex; gap: 2.2rem; align-items: center; }
.nav a { color: #fff; text-decoration: none; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.nav a:hover { color: var(--ice); opacity: 1; }
.nav .btn { min-height: 44px; padding: .55rem 1.3rem; font-size: .8rem; letter-spacing: .12em; background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); white-space: nowrap; opacity: 1; }
.nav .btn:hover { background: rgba(255,255,255,.1); color: #fff; transform: none; }
@media (max-width: 900px) { .nav a:not(.btn) { display: none; } }
@media (max-width: 480px) {
  .header .brand span { display: none; }
  .nav .btn { padding: .5rem 1rem; letter-spacing: .08em; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--deep); color: #fff; padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3.5rem, 7vw, 6rem); }
.hero::before { content: ""; position: absolute; top: -420px; left: 50%; width: 1440px; height: 1150px; margin-left: -720px; border-radius: 50%; background: var(--glow); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.hero-title { max-width: 1160px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.hero-title .tag { font-family: var(--script); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--ice); }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--ice); text-shadow: 0 0 30px rgba(120,190,255,.8); }
.hero-sub { font-size: 1.15rem; line-height: 1.7; color: var(--ice-soft); max-width: 40rem; font-weight: 300; }
.hero .formcard { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.hero-more { background: #fff; color: var(--ink); border-radius: 0 0 var(--r-lg) var(--r-lg); padding: clamp(1.6rem, 3vw, 2.6rem) clamp(1.4rem, 3.4vw, 3rem); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr); gap: 2rem; align-items: center; border-top: 1px solid var(--line); }
.hero-quote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.55rem; line-height: 1.4; color: var(--deep); }
.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.hero-stats b { display: block; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(2.2rem, 3.4vw, 2.9rem); line-height: 1; color: var(--blue-hi); }
.hero-stats span { display: block; font-size: .9rem; color: var(--muted); margin-top: .4rem; line-height: 1.5; }
[id] { scroll-margin-top: 90px; }
@media (max-width: 860px) {
  .hero-more { grid-template-columns: minmax(0, 1fr); }
  .hero-stats { gap: 1.2rem; }
}

/* ---------- form card ---------- */
.formcard { position: relative; min-width: 0; background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: clamp(1.5rem, 3.4vw, 2.75rem); box-shadow: 0 0 0 1px rgba(49,116,194,.12), 0 40px 80px -30px rgba(49,116,194,.5); }
.hero .formcard { border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: 0 -10px 60px rgba(70,140,230,.45); display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.5fr); grid-template-rows: auto auto 1fr; column-gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.hero .formcard > h2, .hero .formcard > .fc-note, .hero .formcard > .price-drop { grid-column: 1; }
.hero .formcard > form { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
@media (max-width: 860px) {
  .hero .formcard { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .hero .formcard > form { grid-column: 1; grid-row: auto; margin-top: 1.2rem; }
}
.formcard h2 { font-size: clamp(1.7rem, 3vw, 2.1rem); font-weight: 400; color: var(--deep); }
.formcard .fc-note { margin-top: .5rem; font-size: .92rem; line-height: 1.6; color: var(--muted); }
.formcard .fc-note b { color: var(--deep); }
.formcard form { margin-top: 1.3rem; display: grid; gap: .9rem; }
.field label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: .35rem; color: #2a4366; }
.field input { width: 100%; min-height: 54px; padding: .8rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--ground); color: var(--ink); font-size: 1rem; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.field input::placeholder { color: #6a7f9e; }
.field input:hover { border-color: #b9d1ee; }
.field input:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(49,116,194,.15); }
.field .err { display: none; margin-top: .35rem; font-size: .84rem; color: var(--rose); }
.field.has-error input { border-color: var(--rose); background: #fdf3f2; }
.field.has-error .err { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.formcard .btn { background: var(--deep); border-radius: 14px; box-shadow: 0 14px 30px -8px rgba(13,47,95,.6); }
.formcard .btn:hover { background: #12397a; }
.form-steps { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; justify-content: center; font-size: .82rem; color: var(--muted); }
.form-steps span { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.form-steps i { font-style: normal; display: inline-grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; border: 1px solid #9db6d6; font-size: .75rem; font-weight: 500; color: var(--muted); }
.form-steps i.on { background: var(--deep); border-color: var(--deep); color: #fff; }
.form-legal { font-size: .78rem; color: var(--muted-2); text-align: center; line-height: 1.55; }
.form-legal a { color: inherit; }

/* ---------- hiệu ứng giá (giữ nguyên hành vi) ---------- */
.price-drop { position: relative; display: grid; justify-items: start; gap: .2rem; margin-top: 1.1rem; }
.pd-row { position: relative; display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.pd-label { font-size: .85rem; color: var(--muted); }
.pd-old { position: relative; font-size: 1rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.pd-old::after { content: ""; position: absolute; left: -3px; right: -3px; top: 52%; height: 1.5px; background: var(--deep); transform-origin: left; border-radius: 2px; }
.pd-seal { display: inline-block; padding: .25rem .7rem; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; font-size: .74rem; letter-spacing: .08em; transform: rotate(-3deg); }
.pd-now { position: relative; font-family: var(--serif); font-weight: 300; font-size: clamp(3.4rem, 6.4vw, 4.8rem); line-height: 1.02; letter-spacing: -.02em; color: var(--deep); font-variant-numeric: lining-nums tabular-nums; }
.pd-now small { font-size: .45em; vertical-align: .9em; margin-left: .1em; }
.pd-save { font-size: .9rem; color: var(--muted); }
.pd-save b { color: var(--deep); }
.price-drop.is-running .pd-old, .price-drop.is-running .pd-seal, .price-drop.is-running .pd-save { opacity: 0; }
.price-drop.is-landed .pd-old { animation: fadein .4s ease both; }
.price-drop.is-landed .pd-old::after { animation: strike .5s .15s cubic-bezier(.6,.05,.3,1) both; }
.price-drop.is-landed .pd-seal { animation: pop .55s .5s cubic-bezier(.3,1.5,.5,1) both; }
.price-drop.is-landed .pd-save { animation: fadein .5s .7s ease both; }
.price-drop.is-landed .pd-now { animation: glowin 1.4s .1s ease-out both; }
@keyframes fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes strike { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pop { 0% { opacity: 0; transform: scale(1.8) rotate(-10deg); } 100% { opacity: 1; transform: scale(1) rotate(-3deg); } }
@keyframes glowin { 0% { text-shadow: 0 0 0 rgba(80,160,255,0); } 40% { text-shadow: 0 0 40px rgba(80,160,255,.8); } 100% { text-shadow: 0 0 30px rgba(80,160,255,.35); } }
.spark { position: absolute; width: 14px; height: 14px; pointer-events: none; color: var(--blue); animation: spark 1.1s ease-out forwards; }
.spark:nth-child(2n) { color: #7fb8f5; }
.spark svg { width: 100%; height: 100%; display: block; }
@keyframes spark { 0% { opacity: 0; transform: translate(0,0) scale(.2) rotate(0); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1) rotate(90deg); } }

/* ---------- dải "Record xem lại..." : tĩnh, gọn ---------- */
.marquee { background: var(--ground); padding: 3.2rem var(--gut) 0; }
.marquee-track { display: flex; justify-content: center; }
.marquee-group { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.6rem; }
.marquee-group[aria-hidden="true"], .marquee-item:nth-child(n+3) { display: none; }
.marquee-item { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: var(--blue-hi); }

/* ---------- ảnh feedback: hiện đủ ảnh, cột đủ rộng để đọc ---------- */
.shot { display: block; width: 100%; margin: 0 0 1.2rem; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px -22px rgba(13,47,95,.45); transition: transform .35s var(--ease), box-shadow .35s var(--ease); break-inside: avoid; }
.shot:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -24px rgba(13,47,95,.55); }
.shot img { width: 100%; height: auto; }
.shot--cap, .shot--cap img { max-height: none; }
.shots, .proof-strip, .cols-proof { display: block; columns: 3 300px; column-gap: 1.2rem; }
.shots--2 { columns: 2 300px; }
.lesson-story .shots, .tm .shots, .founder .shots { columns: 2 280px; }
.shots > *, .proof-strip > *, .cols-proof > * { break-inside: avoid; }
@media (max-width: 760px) {
  .swipe { display: flex !important; columns: auto !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: .9rem; padding-bottom: .6rem; -webkit-overflow-scrolling: touch; scrollbar-width: thin; align-items: flex-start; }
  .swipe > * { flex: 0 0 86%; scroll-snap-align: start; margin-bottom: 0; }
}

/* ---------- khối nội dung ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
#tro-ly-tu-xa { background: var(--sky-1); }
.photo { min-width: 0; }
.photo img { width: 100%; border-radius: 400px 400px 28px 28px; box-shadow: 0 40px 90px -30px rgba(49,116,194,.55); }

.paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); margin-top: 2.6rem; }
@media (max-width: 860px) { .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .paths { grid-template-columns: minmax(0, 1fr); } }
.path { border-top: 1px solid #c9dcf3; padding-top: 1.3rem; }
.path h4 { font-family: var(--serif); font-weight: 300; font-size: 1.6rem; color: var(--muted-2); text-decoration: line-through; text-decoration-thickness: 1px; margin-bottom: .6rem; }
.path p { font-size: .95rem; line-height: 1.65; color: var(--muted); }
.one-way { position: relative; overflow: hidden; margin-top: 2.6rem; padding: clamp(1.6rem, 4vw, 3rem); border-radius: var(--r-lg); background: var(--deep); color: #e6f1ff; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.6; }
.one-way::before { content: ""; position: absolute; top: -200px; left: -100px; width: 600px; height: 600px; border-radius: 50%; background: var(--glow); pointer-events: none; z-index: -1; }
.one-way { isolation: isolate; }
.one-way strong { color: #fff; }
.one-way mark { color: var(--ice); font-style: italic; font-weight: 400; text-shadow: 0 0 30px rgba(120,190,255,.8); }

.income { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-block: 1.6rem; }
.income div { background: #fff; border-radius: var(--r-md); padding: 1.4rem 1.5rem; box-shadow: var(--card); }
.income b { display: block; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 2.6rem; line-height: 1; color: var(--blue-hi); }
.income span { display: block; margin-top: .4rem; font-size: .9rem; color: var(--muted); }

.ready { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.8rem); margin-top: 3rem; counter-reset: rd; }
@media (max-width: 860px) { .ready { grid-template-columns: minmax(0, 1fr); } }
.ready article { background: var(--ground); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.4rem); }
.ready article h4::before { counter-increment: rd; content: "0" counter(rd); display: block; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 2.8rem; line-height: 1; color: var(--blue-hi); margin-bottom: 1rem; }
.ready article h4 { margin-bottom: .8rem; }
.ready article p { font-size: 1rem; line-height: 1.7; color: var(--muted); }
.pull { margin: 3.2rem auto 0; max-width: 56rem; text-align: center; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.4; color: var(--deep); }
.pull em { color: var(--blue-hi); font-weight: 400; }
.cta-row { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }

/* phù hợp */
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; margin-top: 2.6rem; }
@media (max-width: 860px) { .fit { grid-template-columns: minmax(0, 1fr); } }
.fit > div { border-radius: var(--r-lg); padding: clamp(1.6rem, 3.4vw, 2.8rem); }
.fit-yes { position: relative; overflow: hidden; background: var(--deep); color: #dce9fa; isolation: isolate; }
.fit-yes::before { content: ""; position: absolute; top: -240px; right: -240px; width: 700px; height: 700px; border-radius: 50%; background: var(--glow); pointer-events: none; z-index: -1; }
.fit-yes h3 { color: #fff; }
.fit-no { border: 1px solid #c9dcf3; color: var(--muted); }
.fit-no h3 { color: var(--muted); }
.fit h3 { font-size: clamp(1.6rem, 2.4vw, 1.9rem); margin-bottom: 1.3rem; }
.fit ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .9rem; font-size: 1rem; line-height: 1.65; }
.fit-yes li::marker { color: var(--ice); }
.fit-no li::marker { color: #9db6d6; }

/* lộ trình */
.journey { display: grid; gap: 1.6rem; margin-top: 2.6rem; }
.lesson { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); background: #fff; border-radius: var(--r-lg); padding: clamp(1.5rem, 3.4vw, 2.75rem); box-shadow: var(--card); }
@media (max-width: 860px) { .lesson { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 861px) { .lesson > div:first-child { position: sticky; top: 100px; align-self: start; } }
.lesson-head { display: flex; flex-direction: column; gap: .5rem; margin-bottom: .9rem; }
.lesson-no { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-hi); }
.lesson-name { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3.4vw, 2.75rem); letter-spacing: .04em; line-height: 1.1; color: var(--deep); }
.lesson ul { margin: .6rem 0 0; padding-left: 1.2rem; display: grid; gap: .65rem; font-size: 1rem; line-height: 1.65; }
.lesson li::marker { color: var(--blue); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.chips span { font-size: .8rem; padding: .3rem .8rem; border-radius: 999px; background: #e6f0fc; color: #24456f; }
.lesson-story h4 { font-style: italic; font-weight: 300; font-size: 1.85rem; color: var(--deep); margin-bottom: .4rem; }
.lesson-story p { font-size: 1rem; line-height: 1.75; color: var(--muted); }
.lesson-story .shots { margin-top: 1.2rem; }
.math { background: var(--sky-1); border-radius: var(--r-sm); padding: 1.1rem 1.25rem; color: var(--ink) !important; }
.gift { position: relative; overflow: hidden; background: var(--deep); color: #dce9fa; box-shadow: 0 40px 90px -40px rgba(13,47,95,.7); isolation: isolate; }
.gift::before { content: ""; position: absolute; top: -300px; left: -200px; width: 900px; height: 900px; border-radius: 50%; background: var(--glow); pointer-events: none; z-index: -1; }
.gift .lesson-no { color: var(--ice); }
.gift .lesson-name { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
.gift li, .gift .lesson-story p { color: #dce9fa; }
.gift h4 { color: #fff; }
.gift strong { color: #fff; }
.gift li::marker { color: var(--ice); }
.gift .chips span { background: rgba(168,214,255,.14); color: #cfe6ff; }
.gift .note { margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: var(--r-sm); background: rgba(168,214,255,.12); color: #e6f1ff; font-size: .95rem; line-height: 1.65; }
#lo-trinh h3 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }

/* sau chương trình */
.outcomes { list-style: none; margin: 2.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); counter-reset: oc; }
@media (max-width: 760px) { .outcomes { grid-template-columns: minmax(0, 1fr); } }
.outcomes li { position: relative; padding: 1.4rem 0 1.4rem 3.4rem; border-top: 1px solid var(--line); font-size: 1.05rem; line-height: 1.65; color: var(--muted); counter-increment: oc; }
.outcomes li::before { content: counter(oc); position: absolute; left: 0; top: 1.1rem; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 2.2rem; line-height: 1; color: var(--blue-hi); }

/* section nền xanh sâu */
.sec--deep { background: var(--deep); color: #fff; overflow: hidden; }
.sec--deep::before { content: ""; position: absolute; top: -200px; right: -300px; width: 1000px; height: 1000px; border-radius: 50%; background: var(--glow); pointer-events: none; }
.sec--deep > .wrap { position: relative; }
.sec--deep h2 { color: #fff; }
.sec--deep h2 em { color: var(--ice); text-shadow: 0 0 30px rgba(120,190,255,.8); }
.sec--deep .kicker { color: var(--ice); }
.sec.sec--deep .wrap--text > p, .sec.sec--deep .stack > p, .sec--deep p { color: var(--ice-soft); }
.sec--deep mark, .sec--deep strong { color: #fff; }
.founder { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 860px) { .founder { grid-template-columns: minmax(0, 1fr); } }
.founder .photo { position: sticky; top: 100px; }
@media (max-width: 860px) { .founder .photo { position: static; } }
.founder .photo img { aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 40px 90px -30px rgba(80,160,255,.6); }
.sign { font-family: var(--script); font-size: clamp(3rem, 5vw, 4rem); line-height: 1; color: var(--blue-hi); margin-top: 1.8rem; }
.sec--deep .sign { color: #fff; }

/* học viên */
.tm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.8rem; align-items: start; }
@media (max-width: 760px) { .tm-grid { grid-template-columns: minmax(0, 1fr); } }
.tm { background: #fff; border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--card); display: grid; gap: .9rem; align-content: start; }
.tm-name { font-family: var(--script); font-size: 2.9rem; line-height: 1; color: var(--deep); }
.tm-ctx { font-size: .95rem; color: var(--muted); }
#testimonials { background: var(--ground); }

/* ---------- học phí ---------- */
.night { position: relative; overflow: hidden; background: var(--deep); color: #fff; }
.night::before { content: ""; position: absolute; top: -420px; left: 50%; width: 1400px; height: 1100px; margin-left: -700px; border-radius: 50%; background: var(--glow); pointer-events: none; }
.night .wrap { position: relative; }
.night h2 { color: #fff; }
.night h2 em { color: var(--ice); text-shadow: 0 0 30px rgba(120,190,255,.8); }
.night .kicker { color: var(--ice) !important; }
.night .lead { color: var(--ice-soft); }
.offer { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1.5rem; margin-top: 3rem; align-items: start; }
@media (max-width: 900px) { .offer { grid-template-columns: minmax(0, 1fr); } }
.offer > div:first-child { background: #fff; border-radius: var(--r-lg); padding: clamp(1.2rem, 3vw, 2.2rem); box-shadow: var(--card); }
.stack-table { width: 100%; border-collapse: collapse; font-size: 1rem; color: var(--ink); line-height: 1.55; }
.stack-table td { padding: .9rem .4rem; border-bottom: 1px solid #e3edf9; vertical-align: top; }
.stack-table td:first-child { width: 2.6rem; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--blue-hi); }
.stack-table td:last-child { text-align: right; white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
.stack-table tr.total td { border-bottom: 0; font-weight: 600; color: var(--deep); padding-top: 1.1rem; }
.stack-table .badge { display: inline-block; margin-left: .4rem; font-size: .72rem; padding: .1rem .55rem; border-radius: 999px; background: #e6f0fc; color: #24456f; vertical-align: 1px; }
.offer-box { background: #fff; color: var(--ink); border-radius: 28px; padding: clamp(1.5rem, 3.4vw, 2.75rem); display: grid; gap: 1.1rem; box-shadow: 0 0 0 1px rgba(168,214,255,.5), 0 0 70px rgba(80,160,255,.45); }
.offer-box .price-drop { margin-top: 0; }
.offer-box .pd-now { font-size: clamp(3.8rem, 7vw, 6rem); }
.offer-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.offer-tags span { font-size: .8rem; padding: .3rem .8rem; border-radius: 999px; background: #e6f0fc; color: #24456f; }
.slots { display: grid; gap: .5rem; }
.slots-head { display: flex; justify-content: space-between; font-size: .92rem; color: var(--muted); }
.slots-head b { color: var(--deep); }
.slots-bar { height: 6px; border-radius: 999px; background: #e3efff; overflow: hidden; }
.slots-bar i { display: block; height: 100%; width: var(--fill, 100%); border-radius: inherit; background: var(--blue); }
.offer-box .btn { background: var(--deep); box-shadow: 0 14px 30px -8px rgba(13,47,95,.6); }
.offer-box .btn:hover { background: #12397a; }
.offer-box .small { font-family: var(--script); font-size: 1.9rem; line-height: 1.15; color: var(--blue-hi); text-align: center; }
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; margin-top: 3rem; }
@media (max-width: 860px) { .promises { grid-template-columns: minmax(0, 1fr); } }
.promises > div { border-top: 1px solid rgba(168,214,255,.4); padding-top: 1.2rem; }
.promises b { display: block; font-family: var(--script); font-weight: 400; font-size: 2.8rem; line-height: 1; color: var(--ice); margin-bottom: .5rem; }
.promises p { font-size: 1rem; line-height: 1.7; color: var(--ice-soft); }
.night .shots { margin-top: 2.6rem; }

/* đăng ký (form 2) */
.register { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .register { grid-template-columns: minmax(0, 1fr); } }
.steps-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.4rem; counter-reset: st; }
.steps-list li { position: relative; padding-left: 3.4rem; counter-increment: st; }
.steps-list li::before { content: counter(st); position: absolute; left: 0; top: -.2rem; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 2.4rem; line-height: 1; color: var(--blue-hi); }
.steps-list li > b { display: block; font-weight: 600; color: var(--deep); }
.steps-list span { font-size: .95rem; color: var(--muted); }

/* hai lựa chọn */
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; margin-top: 2.6rem; }
@media (max-width: 760px) { .choices { grid-template-columns: minmax(0, 1fr); } }
.choice { border-radius: var(--r-lg); padding: clamp(1.6rem, 3.4vw, 2.75rem); }
.choice small { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.choice h3 { margin: .6rem 0 .9rem; font-size: clamp(1.8rem, 2.8vw, 2.3rem); }
.choice p { font-size: 1.05rem; line-height: 1.75; }
.choice-a { border: 1px solid #c9dcf3; color: var(--muted); }
.choice-a h3 { color: var(--muted); }
.choice-a small { color: var(--muted-2); }
.choice-b { position: relative; overflow: hidden; background: var(--deep); color: #dce9fa; isolation: isolate; }
.choice-b::before { content: ""; position: absolute; top: -260px; right: -260px; width: 700px; height: 700px; border-radius: 50%; background: var(--glow); pointer-events: none; z-index: -1; }
.choice-b h3 { color: #fff; }
.choice-b small { color: var(--ice); }
.choice-b mark { color: var(--ice); font-style: italic; font-weight: 400; text-shadow: 0 0 30px rgba(120,190,255,.8); }

/* faq */
.faq { margin-top: 2rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 1.4rem 3rem 1.4rem 0; font-weight: 500; font-size: 1.08rem; line-height: 1.55; color: var(--deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .2rem; top: 1.45rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #e6f0fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231f6fd1' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M10 4v12M4 10h12'/%3E%3C/svg%3E") center / 1rem no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.5rem; color: var(--muted); font-size: 1.02rem; line-height: 1.75; }

/* lời cuối */
.closing { text-align: center; }
.closing .stack { text-align: left; margin-top: 1.8rem; }
.closing .btn { margin-top: 2.2rem; }
.closing .shots { columns: 1; max-width: 420px; margin-inline: auto; }

.footer { background: var(--deep); color: var(--ice-soft); font-size: .9rem; }
.footer .wrap { padding-block: 2.8rem calc(2.8rem + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer a { color: var(--ice); text-decoration: none; }
.footer a:hover { text-decoration: underline; color: #fff; }
.footer .brand { color: #fff; font-size: 1.25rem; }

/* thanh dính mobile */
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: .7rem var(--gut-r) calc(.7rem + env(safe-area-inset-bottom, 0px)) var(--gut); background: rgba(255,255,255,.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: space-between; gap: .8rem; transform: translateY(110%); transition: transform .45s var(--ease); box-shadow: 0 -12px 34px -18px rgba(13,47,95,.5); }
.stickybar.show { transform: none; }
.stickybar .sb-price { color: var(--deep); line-height: 1.15; }
.stickybar .sb-price b { font-family: var(--serif); font-weight: 300; font-size: 1.85rem; color: var(--deep); font-variant-numeric: lining-nums; }
.stickybar .sb-price b small, .co-bar b small { font-size: .55em; margin-left: .08em; }
.stickybar .sb-price s { display: block; font-size: .8rem; color: var(--muted-2); }
.stickybar .btn { min-height: 48px; padding: .6rem 1.4rem; font-size: .95rem; background: var(--deep); box-shadow: 0 10px 24px -10px rgba(13,47,95,.6); white-space: nowrap; }
@media (min-width: 861px) { .stickybar { display: none; } }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 760px); max-height: 94vh; }
.lightbox::backdrop { background: rgba(8, 26, 54, .86); backdrop-filter: blur(4px); }
.lightbox img { max-height: 90vh; width: auto; margin-inline: auto; border-radius: 14px; }
.lightbox button { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); right: calc(14px + env(safe-area-inset-right, 0px)); width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--deep); font-size: 1.5rem; cursor: pointer; }

/* ============ TRANG THANH TOÁN ============ */
body.pay-blue { background: var(--tint); color: var(--ink); min-height: 100vh; }
html:has(body.pay-blue) { background: var(--tint); }
.co-head .wrap { justify-content: space-between; }
.steps { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--ice-soft); }
.steps ol { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; align-items: center; gap: .45rem; white-space: nowrap; }
.steps i { font-style: normal; display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid rgba(168,214,255,.5); color: var(--ice-soft); font-size: .8rem; font-weight: 600; }
.steps .done i { background: var(--blue); border-color: var(--blue); color: #fff; }
.steps .now { color: #fff; font-weight: 600; }
.steps .now i { background: #fff; border-color: #fff; color: var(--deep); }
@media (max-width: 600px) { .steps li:not(.now) span { display: none; } .steps ol { gap: .55rem; } .co-head .brand span { display: none; } }
.co { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.3rem, 3vw, 2.6rem); align-items: start; padding-block: clamp(1.8rem, 4vw, 3.2rem) clamp(5rem, 8vw, 4rem); }
@media (max-width: 900px) { .co { grid-template-columns: minmax(0, 1fr); align-items: stretch; } }
.co-main { display: grid; gap: 1.4rem; min-width: 0; }
.co-side { display: grid; gap: 1.4rem; min-width: 0; position: sticky; top: 92px; }
@media (max-width: 900px) { .co-side { position: static; } }
.panel { position: relative; background: #fff; border-radius: var(--r-lg); padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--card); }
.panel h2 { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 400; margin-bottom: .4rem; }
.panel > p.small { margin-bottom: 1rem; }
.co-hello h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); color: var(--deep); }
.co-hello p { color: var(--muted); margin-top: .6rem; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1rem; padding: 1rem 0; border-bottom: 1px solid #e3edf9; }
.item:last-child { border-bottom: 0; }
.item-name { font-weight: 600; color: var(--deep); }
.item-desc { grid-column: 1 / -1; font-size: .9rem; color: var(--muted); line-height: 1.6; }
.item-price { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.item-price s { display: block; font-size: .82rem; color: var(--muted-2); }
.item-price b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--deep); }
.incl { margin: .6rem 0 0; padding-left: 1.2rem; display: grid; gap: .4rem; font-size: .9rem; color: var(--muted); }
.incl li::marker { color: var(--blue); }

.bump { position: relative; display: block; cursor: pointer; border-radius: var(--r-md); padding: 1.15rem 1.15rem 1.2rem; background: var(--ground); border: 1.5px dashed #9cc3f0; transition: background-color .2s ease, border-color .2s ease, box-shadow .3s var(--ease); }
.bump + .bump { margin-top: 1rem; }
.bump:hover { background: var(--sky-1); }
.bump input { position: absolute; opacity: 0; pointer-events: none; }
.bump-top { display: flex; gap: .8rem; align-items: flex-start; }
.bump-box { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 7px; border: 1.5px solid var(--deep); background: #fff; display: grid; place-items: center; margin-top: .1rem; transition: background-color .15s ease; }
.bump-box svg { width: 16px; height: 16px; opacity: 0; transform: scale(.5); transition: opacity .15s ease, transform .25s cubic-bezier(.3,1.6,.5,1); color: #fff; }
.bump-head { font-weight: 600; line-height: 1.45; color: var(--deep); }
.bump-head .arrow { color: var(--blue); }
.bump-head em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.1em; color: var(--blue-hi); }
.bump-body { margin-top: .6rem; padding-left: calc(26px + .8rem); font-size: .93rem; color: var(--muted); }
.bump-body ul { margin: .45rem 0 0; padding-left: 1.05rem; display: grid; gap: .3rem; }
.bump-price { margin-top: .65rem; padding-left: calc(26px + .8rem); font-size: .93rem; color: var(--muted); }
.bump-price s { color: var(--muted-2); margin-right: .4rem; }
.bump-price b { color: var(--blue-hi); font-size: 1.1rem; }
.bump input:checked ~ .bump-top .bump-box { background: var(--blue); border-color: var(--blue); }
.bump input:checked ~ .bump-top .bump-box svg { opacity: 1; transform: none; }
.bump:has(input:checked) { border-style: solid; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(49,116,194,.12); }
.bump input:focus-visible ~ .bump-top .bump-box { outline: 2px solid var(--blue); outline-offset: 3px; }

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.contact-grid .field:first-child { grid-column: 1 / -1; }
@media (max-width: 560px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

.pay { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.4rem; align-items: start; }
@media (max-width: 620px) { .pay { grid-template-columns: minmax(0, 1fr); } }
.qr { width: 232px; max-width: 100%; justify-self: center; background: #fff; border-radius: var(--r-md); padding: 12px; box-shadow: 0 0 0 1px var(--line), 0 0 40px rgba(80,160,255,.3); text-align: center; }
.qr svg, .qr img { width: 100%; height: auto; display: block; }
.qr p { margin-top: .45rem; font-size: .78rem; color: var(--muted-2); line-height: 1.4; }
.bank { display: grid; }
.bank-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem .6rem; align-items: center; padding: .65rem 0; border-bottom: 1px solid #e3edf9; font-size: 1rem; }
.bank-row:last-child { border-bottom: 0; }
.bank-row span { grid-column: 1 / -1; color: var(--muted); font-size: .8rem; }
.bank-row b { font-weight: 600; color: var(--deep); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.bank-row b.hl { color: var(--blue-hi); font-size: 1.1rem; }
.copy { border: 1px solid #b9d1ee; background: #fff; color: var(--deep); border-radius: 999px; font-size: .78rem; font-weight: 500; padding: .3rem .8rem; cursor: pointer; min-height: 34px; transition: background-color .2s ease; }
.copy:hover { background: var(--sky-1); }
.copy.ok { background: var(--deep); border-color: var(--deep); color: #fff; }
.pay-confirm { margin-top: 1.3rem; display: grid; gap: .7rem; }
.pay-confirm .btn { background: var(--deep); box-shadow: 0 14px 30px -8px rgba(13,47,95,.6); }
.agree { display: flex; gap: .75rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--r-sm); background: var(--ground); border: 1px solid var(--line); font-size: .9rem; line-height: 1.55; color: var(--ink); cursor: pointer; transition: border-color .2s ease, box-shadow .3s var(--ease); }
.agree input { flex: 0 0 auto; width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--blue); cursor: pointer; }
.agree a { color: var(--blue-hi); }
.agree.is-flag { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(49,116,194,.18); }
.agree-err { margin-top: -.2rem; font-size: .85rem; color: var(--blue-hi); }
.agree-err[hidden] { display: none; }
.agree-help { margin-top: -.2rem; font-size: .85rem; color: var(--muted); }
.agree-help a { color: var(--blue-hi); font-weight: 500; }
.pay-note { font-size: .9rem; color: var(--muted); background: var(--sky-1); border-radius: var(--r-sm); padding: .85rem 1rem; }

.sum { overflow: hidden; background: var(--deep); color: #dce9fa; box-shadow: 0 40px 80px -40px rgba(13,47,95,.7); isolation: isolate; }
.sum::before { content: ""; position: absolute; top: -260px; right: -260px; width: 700px; height: 700px; border-radius: 50%; background: var(--glow); pointer-events: none; z-index: -1; }
.sum h2 { color: #fff; }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; font-size: .95rem; color: #dce9fa; border-bottom: 1px solid rgba(168,214,255,.18); }
.sum-row span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sum-row.muted { color: rgba(220,233,250,.7); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1rem; }
.sum-total > span { font-size: .95rem; color: var(--ice-soft); }
.sum-total b { font-family: var(--serif); font-weight: 300; font-size: 3rem; line-height: 1; color: #fff; text-shadow: 0 0 30px rgba(120,190,255,.5); font-variant-numeric: lining-nums tabular-nums; }
.sum-total b small { font-size: .45em; vertical-align: .9em; }
.sum .btn { margin-top: 1.2rem; background: var(--blue); }
.mini-promises { display: grid; gap: 1rem; }
.mini-promises div { font-size: .93rem; color: var(--muted); padding-top: .9rem; border-top: 1px solid #e3edf9; }
.mini-promises b { display: block; font-family: var(--script); font-weight: 400; font-size: 2rem; line-height: 1.1; color: var(--blue-hi); }
.policy { font-size: .85rem; color: var(--muted-2); line-height: 1.65; }

.co-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: .65rem var(--gut-r) calc(.65rem + env(safe-area-inset-bottom, 0px)) var(--gut); background: rgba(255,255,255,.97); display: flex; align-items: center; justify-content: space-between; gap: .8rem; box-shadow: 0 -12px 34px -18px rgba(13,47,95,.5); color: var(--deep); }
.co-bar span { font-size: .8rem; color: var(--muted-2); display: block; line-height: 1.2; }
.co-bar b { font-family: var(--serif); font-weight: 300; font-size: 1.8rem; color: var(--deep); line-height: 1; white-space: nowrap; font-variant-numeric: lining-nums; }
.co-bar b span { display: inline; font-size: inherit; color: inherit; line-height: inherit; }
.co-bar .btn { min-height: 48px; padding: .55rem 1.3rem; font-size: .95rem; background: var(--deep); box-shadow: 0 10px 24px -10px rgba(13,47,95,.6); white-space: nowrap; }
@media (min-width: 901px) { .co-bar { display: none; } }

/* ============ TRANG CẢM ƠN ============ */
.ty { padding-block: clamp(2.4rem, 6vw, 4.4rem) clamp(3rem, 7vw, 5rem); }
.ty-hero { text-align: center; max-width: 42rem; margin-inline: auto; }
.ty-check { width: 84px; height: 84px; margin: 0 auto 1.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--deep); color: var(--ice); box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line), 0 0 50px rgba(80,160,255,.5); }
.ty-check svg { width: 36px; height: 36px; }
.ty-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .7s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ty-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.ty-hero p { margin-top: .8rem; color: var(--muted); font-size: 1.08rem; }
.ty-hero b { color: var(--deep); }
.ty-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1.4rem; margin-top: 2.6rem; align-items: start; }
@media (max-width: 860px) { .ty-grid { grid-template-columns: minmax(0, 1fr); } }
.ty-steps { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: 1.3rem; counter-reset: ts; }
.ty-steps li { position: relative; padding-left: 3.2rem; counter-increment: ts; }
.ty-steps li::before { content: counter(ts); position: absolute; left: 0; top: -.2rem; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 2.3rem; line-height: 1; color: var(--blue-hi); }
.ty-steps li > b { display: block; color: var(--deep); }
.ty-steps span b { white-space: nowrap; color: var(--deep); }
.ty-steps span { color: var(--muted); font-size: .95rem; }
.ty-qr summary { cursor: pointer; font-weight: 600; padding: .2rem 0; }
.ty-qr[open] summary { margin-bottom: 1rem; }
.ty .sign { color: var(--blue-hi); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
