:root {
  color-scheme: light;
  --bg: #eef5f7;
  --surface: rgba(255, 255, 255, 0.92);
  --ink: #122030;
  --muted: #57677a;
  --stroke: rgba(18, 32, 48, 0.08);
  --primary-deep: #0037a6;
  --warning: #9a5b00;
  --warning-bg: rgba(255, 191, 71, 0.18);
  --shadow: 0 28px 50px rgba(18, 32, 48, 0.09);
  --radius-xl: 28px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(0, 89, 255, 0.14), transparent 24%),
    radial-gradient(circle at 88% 10%, rgba(18, 165, 125, 0.16), transparent 20%),
    linear-gradient(180deg, #fdfefe 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

.legal-page {
  width: min(960px, calc(100% - 1rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.topbar,
.notice,
.legal-card,
.site-footer {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.3rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0, 89, 255, 0.08);
  color: var(--primary-deep);
}

.brand-copy strong {
  display: block;
  font-size: 1rem;
}

.brand-copy span,
.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.topbar-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.topbar-links a,
.footer-links a {
  text-decoration: none;
  font-weight: 700;
}

.notice {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  background: var(--warning-bg);
  color: var(--warning);
}

.legal-card {
  margin-top: 1rem;
  padding: 1.4rem;
}

.legal-card h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.legal-meta {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.legal-card h2 {
  margin: 1.6rem 0 0.65rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.legal-card p,
.legal-card li {
  line-height: 1.75;
}

.legal-card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

.placeholder {
  color: var(--primary-deep);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 1.3rem;
}

@media (max-width: 720px) {
  .topbar,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
