:root {
  --ink: #0f1b33;
  --ink-2: #3b4863;
  --muted: #64708a;
  --line: #e3e7ef;
  --bg: #ffffff;
  --bg-alt: #f6f4ef;
  --navy: #1c3f94;
  --navy-d: #142d6b;
  --red: #d7262e;
  --red-d: #b51d24;
  --radius: 14px;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.25; font-weight: 800; letter-spacing: -0.3px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.3; font-weight: 800; }
h3 { font-size: 19px; line-height: 1.35; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* nút */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px; border-radius: 10px;
  background: var(--red); color: #fff; font-weight: 700; font-size: 16px; line-height: 1.3;
  border: 1.5px solid var(--red); transition: background .15s, border-color .15s, color .15s;
  text-align: center;
}
.btn:hover { background: var(--red-d); border-color: var(--red-d); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--navy); border-color: #c8d1e6; }
.btn-ghost:hover { background: #eef2fb; border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy-d); border-color: #fff; }
.btn-light:hover { background: #e9eefb; border-color: #e9eefb; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* thanh trên */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; line-height: 1.3; white-space: nowrap; }
.logo-mark {
  display: inline-block; padding: 4px 7px; border-radius: 7px; white-space: nowrap;
  border: 2px solid var(--navy); color: var(--navy); font-family: var(--mono); font-size: 13px; line-height: 1.5;
}
.nav-links { display: flex; gap: 28px; margin-left: auto; font-weight: 500; color: var(--ink-2); line-height: 1.3; }
.nav-links a:hover { color: var(--navy); }

/* hero */
.hero { padding: 72px 0 40px; background: linear-gradient(180deg, #f6f4ef 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px;
  background: #fde8e9; color: var(--red-d); font-weight: 600; font-size: 14px; line-height: 1.35;
}
.lead { margin-top: 20px; font-size: 18px; line-height: 1.7; color: var(--ink-2); max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.term { background: #0f1b33; border-radius: var(--radius); box-shadow: 0 24px 60px -20px rgba(15,27,51,.45); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #18264a; }
.term-bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a4a72; }
.term-bar span:first-child { background: #e5484d; }
.term-bar span:nth-child(2) { background: #f5a524; }
.term-bar span:nth-child(3) { background: #30a46c; }
.term-bar em { margin-left: 10px; font-style: normal; font-family: var(--mono); font-size: 12.5px; line-height: 1.3; color: #9aa7c7; }
.term-body { padding: 20px 22px 24px; color: #dbe3f6; font-size: 14.5px; line-height: 1.55; display: grid; gap: 11px; }
.term-body .t-h { font-family: var(--mono); color: #8fb0ff; font-size: 13.5px; }
.tag {
  display: inline-block; min-width: 92px; margin-right: 8px; padding: 2px 8px; border-radius: 6px;
  font-size: 12px; line-height: 1.5; font-weight: 700; text-align: center; vertical-align: 1px;
}
.tag-red { background: rgba(229,72,77,.18); color: #ff8a8e; }
.tag-amber { background: rgba(245,165,36,.18); color: #ffc46b; }
.tag-blue { background: rgba(110,150,255,.18); color: #a9c1ff; }
.term-body .t-ok { margin-top: 4px; padding-top: 12px; border-top: 1px dashed #2e3d63; color: #7ee2a8; font-family: var(--mono); font-size: 13px; }

.strip {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px;
  background: var(--navy); border-radius: 12px; overflow: hidden;
}
.strip li { padding: 16px 12px; color: #fff; font-weight: 600; text-align: center; line-height: 1.5; border-left: 1px solid rgba(255,255,255,.16); }
.strip li:first-child { border-left: 0; }

/* phần chung */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.kicker { color: var(--red); font-weight: 700; font-size: 14px; line-height: 1.35; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 10px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.card-key { border-color: var(--navy); box-shadow: 0 18px 40px -24px rgba(28,63,148,.5); }
.card > p { color: var(--ink-2); }
.card-ico { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: #eef2fb; }
.card-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ticks { display: grid; gap: 9px; margin-top: 4px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.55; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--navy) 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='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.card-note { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--navy) !important; }

.more { margin-top: 56px; }
.more-h { font-size: 22px; line-height: 1.35; }
.more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.more-grid > div { padding: 22px; border-radius: 12px; background: var(--bg-alt); border-top: 3px solid var(--red); }
.more-grid h4 { margin: 0; font-size: 17px; line-height: 1.5; font-weight: 700; }
.more-grid p { margin-top: 6px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }

.two-col { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.signs { display: grid; gap: 12px; }
.signs li {
  padding: 16px 20px 16px 48px; position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; font-weight: 500; line-height: 1.5;
}
.signs li::before { content: ""; position: absolute; left: 20px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 3px; background: var(--red); transform: rotate(45deg); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; counter-reset: s; }
.steps li { padding: 26px 24px; border-top: 3px solid var(--navy); background: #fff; }
.step-n { display: block; font-family: var(--mono); color: var(--red); font-size: 14px; line-height: 1.3; margin-bottom: 12px; }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }

.pledges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.pledges > div { padding: 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.pledges p { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }

.cta { padding: 72px 0; background: var(--navy); color: #fff; }
.cta-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { margin-top: 12px; color: #c9d4f2; font-size: 17px; line-height: 1.65; }
.contact { display: grid; gap: 12px; }

.foot { padding: 28px 0; background: #0d1b40; color: #9fb0d8; font-size: 14px; line-height: 1.5; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot .logo { color: #fff; font-size: 16px; }
.foot .logo-mark { border-color: #9fb0d8; color: #9fb0d8; }

@media (max-width: 960px) {
  .hero-grid, .two-col, .cta-in { grid-template-columns: 1fr; gap: 36px; }
  .cards, .pledges { grid-template-columns: 1fr; }
  .more-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip li:nth-child(3) { border-left: 0; }
  .strip li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.16); }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-in { justify-content: space-between; }
  .hero { padding: 44px 0 32px; }
  .lead { font-size: 17px; }
  .hero-cta .btn { width: 100%; }
  .section { padding: 64px 0; }
  .more-grid, .steps { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .tag { min-width: 0; }
}

.term-body p:has(.tag) { display: flex; align-items: flex-start; gap: 10px; }
.term-body p:has(.tag) .tag { margin-right: 0; flex-shrink: 0; margin-top: 1px; }
.cta .contact-mail { margin-top: 0; text-align: center; font-family: var(--mono); font-size: 15px; line-height: 1.5; color: #fff; user-select: all; }
