:root {
  --cream: #FBF3E7;
  --cream-dim: #F3E8D6;
  --navy: #12293B;
  --navy-deep: #0B1826;
  --muted: #5B6B78;
  --amber: #D9770E;
  --amber-ink: #12293B;
  --line: rgba(18,41,59,0.12);

  --bg: var(--cream);
  --bg-alt: var(--cream-dim);
  --fg: var(--navy);
  --fg-muted: var(--muted);
  --accent: var(--amber);
  --accent-ink: var(--amber-ink);
  --border: var(--line);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: var(--navy-deep);
    --bg-alt: #10222F;
    --fg: #F3E8D6;
    --fg-muted: #9FB0BC;
    --accent: #F2A73B;
    --accent-ink: #17222B;
    --border: rgba(243,232,214,0.14);
  }
}
:root[data-theme="dark"] {
  --bg: var(--navy-deep);
  --bg-alt: #10222F;
  --fg: #F3E8D6;
  --fg-muted: #9FB0BC;
  --accent: #F2A73B;
  --accent-ink: #17222B;
  --border: rgba(243,232,214,0.14);
}

* { box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Be Vietnam Pro', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.55;
  padding-inline: 24px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 960px; margin-inline: auto; }
.narrow { max-width: 680px; }

h1, h2, h3 { font-family: 'Be Vietnam Pro', sans-serif; font-weight: 800; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.15; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.tagline {
  font-family: 'Lora', Georgia, serif; font-style: italic; font-weight: 500;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--fg-muted); text-wrap: balance;
}

section { padding-block: clamp(48px, 8vw, 88px); }
section + section { border-top: 1px solid var(--border); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; text-decoration: none;
  border: none; cursor: pointer;
}
.btn:focus-visible, a:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px;
}
.btn-ghost {
  background: transparent; color: var(--fg); border: 1.5px solid var(--border);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-note { font-size: 0.85rem; color: var(--fg-muted); }

/* ---- Header ---- */
header.site {
  padding-block: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
nav.site { display: flex; flex-wrap: wrap; gap: 6px 20px; }
nav.site a {
  text-decoration: none; font-size: 0.92rem; font-weight: 500; color: var(--fg-muted);
}
nav.site a:hover { color: var(--fg); }

/* ---- Hero ---- */
.hero { padding-block: clamp(40px, 7vw, 72px) clamp(56px, 9vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 760px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: min(280px, 60vw); height: auto; }

/* ---- Pillars (3 nguyen tac) ---- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
@media (max-width: 720px) { .pillars { grid-template-columns: 1fr; } }
.pillar-num {
  font-family: 'Lora', serif; font-style: italic; color: var(--accent);
  font-size: 1rem; margin-bottom: 10px; display: block;
}
.pillar h3 { margin-bottom: 8px; }
.pillar p { color: var(--fg-muted); font-size: 0.96rem; }

/* ---- Tinh nang (list, khong the) ---- */
.feature-row {
  display: grid; grid-template-columns: 56px 1fr; gap: 22px;
  padding-block: 28px;
}
.feature-row + .feature-row { border-top: 1px solid var(--border); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
  flex: none;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-body h3 { margin-bottom: 6px; }
.feature-body p { color: var(--fg-muted); }
.feature-quote {
  display: inline-block; margin-top: 10px; font-size: 0.88rem;
  color: var(--fg); background: var(--bg-alt); border-radius: 8px;
  padding: 6px 12px; font-weight: 500;
}
.feature-quote::before { content: "\201C"; color: var(--accent); }
.feature-quote::after { content: "\201D"; color: var(--accent); }

/* ---- Trust strip ---- */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 28px 40px; justify-content: space-between;
}
.trust-item { display: flex; align-items: baseline; gap: 10px; min-width: 160px; }
.trust-item .mark { color: var(--accent); font-size: 1.3rem; font-weight: 800; }
.trust-item span.label { font-size: 0.92rem; color: var(--fg-muted); }

/* ---- CTA band ---- */
.cta-band {
  background: var(--navy); color: var(--cream); border-radius: 24px;
  padding: clamp(32px, 6vw, 56px); text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center;
}
.cta-band h2 { color: var(--cream); }
.cta-band p { color: #C9D3DA; max-width: 46ch; }

/* ---- Footer ---- */
footer.site {
  padding-block: 36px 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px;
  font-size: 0.88rem; color: var(--fg-muted);
}
footer.site .brand { font-size: 0.95rem; }
footer.site svg { width: 26px; height: 26px; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; color: var(--fg-muted); }
.foot-links a:hover { color: var(--fg); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---- Trang van ban dai (Chinh sach quyen rieng tu...) ---- */
.legal h2 { margin-top: 40px; margin-bottom: 14px; font-size: 1.3rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--fg); margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin: 0 0 16px; }
.legal table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 0.92rem; vertical-align: top; }
.legal th { color: var(--fg-muted); font-weight: 600; }
.legal .updated { color: var(--fg-muted); font-size: 0.88rem; margin-bottom: 32px; }
.legal .callout {
  background: var(--bg-alt); border-radius: 12px; padding: 16px 20px; margin-bottom: 20px;
  border-left: 3px solid var(--accent);
}
