:root {
  --bg: #f7fafc;
  --surface: #ffffff;
  --text: #0b1220;
  --muted: #526176;
  --line: #dce7f2;
  --blue: #0ea5ff;
  --violet: #7c3aed;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(34, 211, 238, .16), transparent 30%),
    radial-gradient(circle at 86% 10%, rgba(124, 58, 237, .12), transparent 30%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a { color: #5b21b6; }

.site-header {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.legal-wrap,
.footer-inner {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img {
  display: block;
  width: 220px;
  height: auto;
}

.back-link {
  font-weight: 800;
  text-decoration: none;
}

.legal-wrap {
  padding: 64px 0 80px;
}

.legal-card {
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(14, 37, 68, .1);
}

h1,
h2 {
  line-height: 1.15;
  letter-spacing: -.025em;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(38px, 7vw, 60px);
}

h2 {
  margin: 38px 0 10px;
  font-size: 25px;
}

p,
li { color: var(--muted); }

li + li { margin-top: 7px; }

.updated {
  margin: 0 0 30px;
  color: #6d28d9;
  font-weight: 800;
}

.notice {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  border-radius: 6px;
  background: #eff9ff;
}

.contact-card {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fafcff;
}

footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  padding: 25px 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  .header-inner { min-height: 74px; }
  .logo img { width: 170px; }
  .legal-wrap { padding-top: 34px; }
}
