:root {
  --bg: #170609;
  --bg2: #230c12;
  --card: #2d0f17;
  --card2: #371420;
  --blue: #B02A44;
  --blue2: #CE4A64;
  --green: #00e676;
  --text: #f5f7ff;
  --muted: #8a94b8;
  --border: #4d1a26;
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { background: var(--bg); color: var(--text); font-family: 'Inter', 'Segoe UI', sans-serif; line-height: 1.7; }
body { min-height: 100vh; background:
  radial-gradient(1200px 500px at 80% -10%, rgba(0,112,243,0.16), transparent 60%),
  radial-gradient(900px 400px at 10% 110%, rgba(0,230,118,0.07), transparent 55%),
  var(--bg);
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; }

header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,13,31,0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(28,45,90,0.5);
  padding: 14px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo .mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--blue), #6C1B2C);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: 0 6px 20px rgba(0,112,243,0.45);
}
.logo .name { font-family: 'Outfit', 'Inter', sans-serif; font-weight: 800; font-size: 21px; letter-spacing: 0.5px; color: var(--text); }
.logo .name span { color: var(--blue2); }
header nav { display: flex; gap: 8px; flex-wrap: wrap; }
header nav a {
  padding: 7px 14px; border-radius: 10px; font-size: 12.5px; font-weight: 600;
  color: var(--muted); text-decoration: none; border: 1px solid transparent;
  transition: all 0.2s;
}
header nav a:hover { color: var(--text); border-color: var(--blue2); }
header nav a.home { background: linear-gradient(135deg, var(--blue), #6C1B2C); color: #fff; }
header nav a.home:hover { box-shadow: 0 6px 16px rgba(0,112,243,0.35); }

.wrap { max-width: 860px; margin: 0 auto; padding: 34px 22px 70px; }
.legal-hero { text-align: center; margin-bottom: 34px; }
.legal-hero .icon { font-size: 46px; }
.legal-hero h1 { font-family: 'Outfit', 'Inter', sans-serif; font-size: 34px; font-weight: 800; margin-top: 10px; letter-spacing: 0.3px; }
.legal-hero .updated {
  display: inline-block; margin-top: 12px; padding: 6px 16px; border-radius: 20px;
  background: rgba(0,230,118,0.12); border: 1px solid rgba(0,230,118,0.3);
  color: var(--green); font-size: 12px; font-weight: 600;
}
.legal-hero .intro { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 640px; margin-left: auto; margin-right: auto; }

article.card {
  background: rgba(15,26,58,0.55);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 28px;
  margin-bottom: 18px;
  animation: fadeUp 0.4s ease backwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
article.card h2 {
  font-family: 'Outfit', 'Inter', sans-serif; font-size: 20px; font-weight: 800;
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  color: var(--blue2);
}
article.card h2 .num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), #6C1B2C);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800;
}
article.card p, article.card li { font-size: 14.5px; color: rgba(245,247,255,0.92); }
article.card p { margin-bottom: 10px; }
article.card ul, article.card ol { margin: 0 0 10px 22px; }
article.card li { margin-bottom: 7px; }
article.card strong { color: var(--green); font-weight: 700; }
article.card a { color: var(--blue2); text-decoration: underline; text-underline-offset: 3px; }
article.card a:hover { color: var(--green); }
.toc { background: rgba(11,19,43,0.6); border: 1px dashed var(--border); border-radius: 14px; padding: 18px 22px; margin-bottom: 20px; font-size: 13.5px; }
.toc b { color: var(--blue2); }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); }
.toc ol { margin: 10px 0 0 20px; }
.toc li { margin-bottom: 5px; }

.warn {
  background: rgba(255,159,28,0.08); border: 1px solid rgba(255,159,28,0.35);
  border-radius: 14px; padding: 18px 22px; margin-bottom: 18px; font-size: 14px;
  color: #ffd28a; line-height: 1.7;
}
.ok {
  background: rgba(0,230,118,0.07); border: 1px solid rgba(0,230,118,0.3);
  border-radius: 14px; padding: 18px 22px; margin-bottom: 18px; font-size: 14px;
  color: #b7f5d4; line-height: 1.7;
}
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13.5px; }
th, td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; }
th { background: var(--bg2); color: var(--blue2); font-weight: 700; }
tr:nth-child(even) td { background: rgba(11,19,43,0.4); }

.contact-box {
  background: linear-gradient(135deg, rgba(0,112,243,0.12), rgba(79,70,229,0.12));
  border: 1px solid rgba(0,112,243,0.4);
  border-radius: 16px; padding: 24px; margin-top: 8px;
}
.contact-box h3 { font-family: 'Outfit', 'Inter', sans-serif; font-size: 18px; margin-bottom: 10px; color: var(--blue2); }
.contact-box p { font-size: 14px; color: rgba(245,247,255,0.92); margin-bottom: 6px; }
.contact-box .email { color: var(--green); font-weight: 700; text-decoration: none; }

footer { text-align: center; padding: 24px; color: #3d4766; font-size: 12px; border-top: 1px solid rgba(77,26,38,0.4); }
footer b { color: var(--muted); }
footer .legal-links { margin-top: 8px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
footer .legal-links a { color: #5a6690; text-decoration: none; }
footer .legal-links a:hover { color: var(--blue2); }

@media (max-width: 700px) {
  header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .legal-hero h1 { font-size: 26px; }
  article.card { padding: 20px 18px; }
  .wrap { padding: 22px 14px 50px; }
}
@media print {
  header, footer { display: none; }
  body { background: #fff; color: #111; }
  article.card { border: 1px solid #ccc; }
}
