/* ============================================================
   KHẢI HOÀN PRIME — Style dùng chung cho các trang pháp lý
   (Điều khoản sử dụng / Chính sách bảo mật)
   ============================================================ */
:root{
  --ink:#2d130c; --ink-2:#3a1810; --ink-3:#4d2417;
  --gold:#c9a24b; --gold-2:#e8cf98; --gold-deep:#9c6a28;
  --cream:#f6efe3; --paper:#fbf6ec; --white:#ffffff;
  --muted:#8a7a6b; --line:rgba(201,162,75,.30);
  --shadow:0 18px 50px rgba(45,20,12,.20);
  --radius:16px; --maxw:900px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Manrope',system-ui,-apple-system,sans-serif; color:var(--ink); background:var(--paper);
  line-height:1.75; text-wrap:pretty; -webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:'Fraunces',Georgia,serif; line-height:1.2; text-wrap:balance; font-weight:600}
p{text-wrap:pretty}
img{max-width:100%; display:block}
a{color:var(--gold-deep); text-decoration:none}
a:hover{text-decoration:underline}
svg.ic{fill:none; stroke:currentColor; stroke-width:1.4; stroke-linecap:square; stroke-linejoin:miter}
.dmd{display:inline-block; width:9px; height:9px; flex:0 0 auto; transform:rotate(45deg);
  background:linear-gradient(135deg,var(--gold-2),var(--gold-deep))}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 22px}

/* Header */
header.site{background:var(--ink); padding:16px 0; position:sticky; top:0; z-index:50;
  box-shadow:0 4px 18px rgba(0,0,0,.2)}
header.site .wrap{display:flex; align-items:center; justify-content:space-between; gap:16px}
.logo img{height:44px; width:auto}
.hot{color:#fff; font-weight:600; display:flex; align-items:center; gap:8px; font-size:.95rem; white-space:nowrap}
.hot .ic{width:18px; height:18px; color:var(--gold-2)}
.hot small{display:block; font-size:.6rem; color:var(--gold-2); letter-spacing:.1em; font-weight:500}
@media(max-width:520px){.logo img{height:36px} .hot .lbl{display:none}}

/* Hero title */
.page-head{background:linear-gradient(160deg,var(--ink) 0%,var(--ink-3) 100%); color:#fff;
  padding:52px 0 46px; text-align:center}
.page-head .eyebrow{font-weight:600; letter-spacing:.24em; text-transform:uppercase;
  font-size:.72rem; color:var(--gold-2)}
.page-head h1{font-size:clamp(1.8rem,4vw,2.6rem); margin:12px 0 10px}
.page-head .upd{color:rgba(255,255,255,.68); font-size:.88rem}
.rule{display:flex; align-items:center; justify-content:center; gap:9px; margin:14px auto 0}
.rule::before,.rule::after{content:""; width:52px; height:1px; background:linear-gradient(90deg,transparent,var(--gold-2))}
.rule::after{background:linear-gradient(90deg,var(--gold-2),transparent)}

/* Content */
main{padding:46px 0 60px}
.doc{background:#fff; border:1px solid #ece0cd; border-radius:var(--radius); box-shadow:0 8px 26px rgba(45,20,12,.07);
  padding:40px 42px}
.doc h2{font-size:1.35rem; margin:34px 0 12px; display:flex; align-items:center; gap:11px}
.doc h2:first-child{margin-top:0}
.doc h3{font-size:1.06rem; margin:20px 0 8px; font-family:'Manrope'; font-weight:700}
.doc p{margin-bottom:12px; color:#4a3a2c}
.doc ul,.doc ol{margin:0 0 14px 22px; color:#4a3a2c}
.doc li{margin-bottom:7px}
.doc b,.doc strong{color:var(--ink)}
.doc .note{background:var(--cream); border-left:3px solid var(--gold); border-radius:8px;
  padding:16px 18px; margin:18px 0; font-size:.95rem}
.doc table{width:100%; border-collapse:collapse; margin:14px 0; font-size:.93rem}
.doc th,.doc td{border:1px solid #eadfcc; padding:10px 12px; text-align:left; vertical-align:top}
.doc th{background:var(--cream); font-weight:700}
.toc{background:var(--cream); border:1px solid var(--line); border-radius:12px; padding:18px 22px; margin-bottom:30px}
.toc b{display:block; margin-bottom:8px}
.toc ol{margin:0 0 0 20px}
.toc li{margin-bottom:4px}
.toc a{color:#4a3a2c}
.toc a:hover{color:var(--gold-deep)}
@media(max-width:600px){.doc{padding:28px 22px}}

/* Back link */
.back{display:inline-flex; align-items:center; gap:8px; margin-top:26px; font-weight:600}
.back .ic{width:16px; height:16px}

/* Footer */
footer.site{background:#1e0c06; color:rgba(255,255,255,.62); padding:34px 0 26px; font-size:.88rem}
footer.site a{color:rgba(255,255,255,.78)}
footer.site a:hover{color:var(--gold-2)}
.foot-links{display:flex; flex-wrap:wrap; gap:8px 20px; margin-bottom:14px}
.foot-bottom{border-top:1px solid rgba(255,255,255,.1); padding-top:16px; font-size:.8rem; color:rgba(255,255,255,.5)}
