:root {
  --maxw: 1080px;
  --primary: #C2337A;
  --gold: #D9669E;
  --gold-light: #F5B9D3;
  --accent: #E8418E;
  --accent-dark: #C92C74;
  --quote: #E06BA3;
  --blush: #FBD3E5;
  --dark: #4A1F36;
  --sage: #FCE7F1;
  --pink-soft: #FDE1EE;
  --butter: #FFF1F7;
  --cream-pink: #FFF3F8;
  --bg: #FFF8FB;
  --surface: #FFFFFF;
  --text: #3B1A2B;
  --text-head: #3B1A2B;
  --muted: #86607A;
  --line: #F6D9E7;
  --shadow: 0 14px 34px -18px rgba(150, 30, 90, .35);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg) linear-gradient(180deg, #FDE6F0 0, var(--bg) 420px) no-repeat; color: var(--text); font: 400 16.5px/1.7 "Be Vietnam Pro", system-ui, sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: "Lora", Georgia, serif; font-weight: 700; line-height: 1.25; color: var(--text); }
h1 { font-size: clamp(30px, 5.4vw, 44px); }
h2 { font-size: clamp(24px, 3.6vw, 32px); }
h3 { font-size: 21px; }
.page { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 28px 16px 64px; }
.page-wide { max-width: var(--maxw); }
.eyebrow { display: block; font: 600 12px/1 "Be Vietnam Pro", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Top bar */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 30px; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 500; color: var(--primary); padding: 8px 14px 8px 10px; border: 1px solid var(--gold-light); border-radius: 999px; background: #fff; }
.back:hover { background: var(--cream-pink); }
.mini-brand { display: flex; align-items: center; gap: 8px; font: 700 16px/1 "Lora", serif; }
.mini-brand img { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gold-light); }

/* Book-style frame */
.frame { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 40px 34px; position: relative; box-shadow: var(--shadow); }
.frame::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--gold-light); border-radius: 16px; pointer-events: none; opacity: .75; }
.page-head { text-align: center; margin-bottom: 28px; }
.page-head p { margin-top: 10px; color: var(--muted); }
.rule { display: flex; align-items: center; gap: 12px; color: var(--gold); justify-content: center; margin: 18px 0 6px; font-size: 13px; }
.rule::before, .rule::after { content: ""; height: 1px; width: 60px; background: var(--gold-light); }

/* Table of contents rows */
.toc { list-style: none; display: grid; gap: 14px; }
.toc a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease; }
.toc a:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--gold-light); background: #fff; }
.toc .num { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold); color: var(--primary); font: 700 17px/46px "Lora", serif; text-align: center; background: #fff; }
.toc h3 { font-size: 20px; }
.toc p { font-size: 14.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.toc .arrow { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.toc .ext { font-size: 11.5px; font-weight: 600; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; display: inline-block; margin-top: 6px; }
.toc a.t1 { background: var(--sage); }
.toc a.t2 { background: var(--pink-soft); }
.toc a.t3 { background: var(--butter); }
.toc a.t4 { background: var(--cream-pink); }
.toc a.t5 { background: #EFE9F8; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 30px; border-radius: 999px; font: 700 16px/1.2 "Be Vietnam Pro", sans-serif; letter-spacing: .02em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; cursor: pointer; border: 0; text-align: center; }
.btn:hover { transform: translateY(-3px); }
.btn-accent, .btn-primary { background: linear-gradient(135deg, #F25A9E 0%, #E8418E 50%, #C92C74 100%); color: #fff; box-shadow: 0 14px 28px -10px rgba(232, 65, 142, .65), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-accent:hover, .btn-primary:hover { box-shadow: 0 20px 34px -10px rgba(232, 65, 142, .8), inset 0 1px 0 rgba(255,255,255,.25); filter: saturate(1.1); }
.btn-ghost { background: #fff; color: var(--accent-dark); border: 2px solid var(--accent); box-shadow: 0 10px 24px -14px rgba(232, 65, 142, .5); }
.btn-ghost:hover { background: var(--pink-soft); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card .btn { margin-top: auto; }
.pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--accent); background: var(--pink-soft); padding: 5px 11px; border-radius: 999px; }
.pill-gold { color: var(--primary); background: var(--butter); border: 1px solid var(--gold-light); }

/* Price list */
.prices { display: grid; gap: 12px; }
.price { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.price h4 { font-size: 18px; }
.price .bonus { font-size: 13px; font-weight: 600; color: var(--accent); }
.price .amt { text-align: right; }
.price .amt b { display: block; font: 700 24px/1.1 "Lora", serif; color: var(--primary); }
.price .amt span { font-size: 13px; color: var(--muted); }
.price .per { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.price.best { background: #fff; border: 1.5px solid var(--gold); position: relative; }
.price.best::after { content: attr(data-label); position: absolute; top: -11px; left: 18px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; letter-spacing: .04em; }

/* Info boxes */
.box { border-radius: 16px; padding: 20px 22px; font-size: 15px; }
.box h4 { font-size: 16.5px; margin-bottom: 8px; }
.box ul { list-style: none; display: grid; gap: 6px; }
.box li { display: flex; gap: 8px; }
.box li::before { content: "✦"; color: var(--gold); flex-shrink: 0; }
.box-sage { background: var(--sage); }
.box-pink { background: var(--pink-soft); }
.box-butter { background: var(--butter); }
.box-dark { background: var(--dark); color: #fff; }
.box-dark h4 { color: var(--gold-light); }
.stack { display: grid; gap: 16px; }
.section { margin-top: 34px; }
.section > h2 { margin-bottom: 6px; }
.section > .sub { color: var(--muted); margin-bottom: 18px; }

/* Schedule */
.tz { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.sched-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
table.sched { border-collapse: collapse; width: 100%; min-width: 720px; font-size: 13.5px; }
.sched th, .sched td { padding: 10px 8px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; vertical-align: middle; }
.sched th { background: var(--dark); color: #fff; font-weight: 600; font-size: 13px; }
.sched td:first-child, .sched th:first-child { font-weight: 600; background: var(--cream-pink); color: var(--text); position: sticky; left: 0; }
.sched th:first-child { background: var(--dark); color: #fff; }
.sched tr:last-child td { border-bottom: 0; }
.sched td:last-child, .sched th:last-child { border-right: 0; }
.tag { display: inline-block; padding: 3px 8px; border-radius: 8px; font-weight: 600; font-size: 12.5px; margin: 2px; white-space: nowrap; }
.cb { background: #DDEBFA; color: #2F5379; }
.tc { background: #FADDEA; color: #8A3459; }
.chung { background: var(--sage); color: #3F6340; }
.trua { background: #FFF1C9; color: #7A5A12; }
.trilieu { background: #FCE3CF; color: #8A4E1E; }
.flow { background: #E6DDF7; color: #55388C; }
.mix { background: var(--pink-soft); color: var(--accent); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 12px; font-size: 13px; color: var(--muted); align-items: center; }
.dash { color: #E7B9CF; }

/* Footer */
.foot { margin-top: 40px; text-align: center; font-size: 14px; color: var(--muted); }
.foot .quote { font: italic 500 17px/1.6 "Lora", serif; color: var(--quote); margin-bottom: 16px; }
.foot a { color: var(--primary); font-weight: 500; }

@media (max-width: 640px) {
  .frame { padding: 30px 18px; border-radius: 18px; }
  .frame::before { inset: 7px; }
  .toc a { grid-template-columns: auto 1fr; padding: 16px; gap: 14px; align-items: start; }
  .toc .arrow { display: none; }
  .toc .num { width: 42px; height: 42px; line-height: 40px; font-size: 15px; }
  .toc h3 { font-size: 18px; }
  .cards { grid-template-columns: 1fr; }
  .price .amt b { font-size: 21px; }
  .btn-row .btn { width: 100%; }
}
