/* ── LEGAL PAGES (terms, privacy, policy-18) ── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
}

.legal-nav-logo {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-nav-back {
  font-size: 13px;
  color: var(--text3);
  text-decoration: none;
  transition: color 0.15s;
}

.legal-nav-back:hover { color: var(--accent); }

.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  flex: 1;
}

.legal-title {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.legal-date {
  font-size: 13px;
  color: var(--text3);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-wrap h2 {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 36px 0 12px;
}

.legal-wrap h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 20px 0 8px;
}

.legal-wrap p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text2);
  margin-bottom: 12px;
}

.legal-wrap ul, .legal-wrap ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-wrap li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text2);
  margin-bottom: 4px;
}

.legal-wrap a {
  color: var(--accent);
  text-decoration: none;
}

.legal-wrap a:hover { text-decoration: underline; }

.legal-highlight {
  background: var(--accent-bg);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
}

.legal-footer {
  border-top: 1px solid var(--border);
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-footer-copy {
  font-size: 13px;
  color: var(--text3);
}

.legal-footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.legal-footer-links a {
  font-size: 13px;
  color: var(--text3);
  text-decoration: none;
  transition: color 0.15s;
}

.legal-footer-links a:hover { color: var(--accent); }

@media (max-width: 600px) {
  .legal-nav { padding: 0 20px; }
  .legal-wrap { padding: 32px 20px 60px; }
  .legal-title { font-size: 22px; }
  .legal-footer { padding: 20px; flex-direction: column; align-items: flex-start; }
}
