:root {
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --card: #ffffff;
  --border: #e2e8f0;
  --primary: #2563eb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

.container {
  width: min(900px, 92%);
  margin: 0 auto;
}

.topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  min-height: 66px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-weight: 700;
  text-decoration: none;
  color: inherit;
}

nav {
  display: flex;
  gap: 14px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

.legal {
  margin-top: 30px;
  margin-bottom: 30px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
}

.updated {
  color: var(--muted);
  margin-top: -4px;
}

.legal section + section {
  margin-top: 18px;
}

h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

ul {
  margin-top: 8px;
  padding-left: 20px;
}

li + li {
  margin-top: 6px;
}

p {
  margin: 0 0 10px;
}

.foot {
  border-top: 1px solid var(--border);
  background: #fff;
}

.foot-inner {
  min-height: 62px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.foot a {
  color: var(--primary);
  text-decoration: none;
}

@media (max-width: 720px) {
  .topbar-inner,
  .foot-inner {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
  }

  .legal {
    padding: 20px;
  }
}
