:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #101828;
  --muted: #5b6472;
  --rose: #ff5c8a;
  --violet: #8b6cf0;
  --line: #e6eaf1;
  --radius: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

header.site {
  background: linear-gradient(135deg, #ff9db4 0%, #8b6cf0 100%);
  color: #fff;
}

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

header.site .bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
}

header.site img.logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  padding: 6px;
  flex: 0 0 auto;
}

header.site .brand {
  display: flex;
  flex-direction: column;
}

header.site .brand strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

header.site .brand span {
  font-size: 12.5px;
  opacity: 0.9;
}

nav.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 18px;
}

nav.legal a {
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

nav.legal a:hover { background: rgba(255, 255, 255, 0.28); }

main {
  padding: 28px 0 56px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05);
}

h1 {
  font-size: 26px;
  line-height: 1.3;
  margin: 0 0 6px;
}

h2 {
  font-size: 18px;
  margin: 26px 0 8px;
}

h2:first-of-type { margin-top: 18px; }

p, li { color: var(--text); font-size: 15.5px; }

.meta {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0 0 18px;
}

ul { padding-left: 22px; }

li { margin: 6px 0; }

a { color: #7a4fe0; }

.note {
  background: #fdf2f6;
  border: 1px solid #f7d3e0;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 18px 0;
  font-size: 14.5px;
}

footer.site {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 22px 0;
  color: var(--muted);
  font-size: 13.5px;
}

footer.site .row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  align-items: center;
}

footer.site a { color: var(--muted); }

@media (max-width: 520px) {
  body { font-size: 15.5px; }
  .card { padding: 20px 16px; border-radius: 16px; }
  h1 { font-size: 22px; }
  h2 { font-size: 17px; }
  header.site img.logo { width: 38px; height: 38px; }
  header.site .brand strong { font-size: 16px; }
  nav.legal a { font-size: 12.5px; padding: 6px 10px; }
}
