/* Style dùng chung cho các trang pháp lý công khai của iSecurity VPN */
:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --text: #1a1d21;
  --text-muted: #5b6470;
  --border: #e2e5ea;
  --accent: #b32d2e;
  --accent-soft: #fdf2f2;
  --radius: 10px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 32px 16px 64px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

.doc {
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 44px 48px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.brand::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

h1 {
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 19px;
  line-height: 1.4;
  margin: 36px 0 12px;
  padding-top: 4px;
}

.updated {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.updated strong {
  color: var(--text);
}

.intro {
  padding: 16px 18px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  margin-bottom: 8px;
}

.intro p:last-child {
  margin-bottom: 0;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

li {
  margin-bottom: 10px;
}

li::marker {
  color: var(--accent);
}

.note {
  font-style: italic;
  color: var(--text-muted);
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 36px 0 24px;
}

.contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact li {
  margin-bottom: 8px;
}

a {
  color: var(--accent);
}

footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
}

@media (max-width: 600px) {
  body {
    padding: 16px 12px 40px;
  }

  .doc {
    padding: 24px 20px 32px;
  }

  h1 {
    font-size: 23px;
  }

  h2 {
    font-size: 17px;
  }
}

@media print {
  body {
    background: #fff;
    padding: 0;
  }

  .doc {
    border: 0;
    max-width: none;
    padding: 0;
  }
}
