/* Legal pages (privacy, cookie policy, etc.) — uses tokens from main.css. */

html, body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  min-height: 100vh; color: var(--text); line-height: 1.6;
}

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0.9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,10,10,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 0.55rem;
  text-decoration: none; font-size: 1.05rem; font-weight: 800;
  letter-spacing: -0.02em; color: var(--text);
}
.nav-logo-icon {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: var(--bg); flex-shrink: 0;
}
.nav-logo-text { color: var(--text); }
.nav-back {
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.88rem; display: flex; align-items: center; gap: 0.4rem;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--text); }

.container { max-width: 800px; margin: 0 auto; padding: 5.5rem 2rem 4rem; }

h1 { font-size: 2.25rem; margin-bottom: 0.5rem; color: var(--text); font-weight: 800; letter-spacing: -0.02em; }
h2 { color: var(--text); margin: 2rem 0 1rem; font-size: 1.25rem; font-weight: 700; }
h3 { color: var(--text); margin: 1.5rem 0 0.5rem; font-size: 1.05rem; font-weight: 600; }
p, li { color: var(--text-secondary); margin-bottom: 0.8rem; line-height: 1.65; }
ul { margin-left: 1.5rem; }
a { color: var(--text); text-decoration: none; }
a:hover { text-decoration: underline; opacity: 0.8; }

.back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--text-secondary); text-decoration: none;
  margin-bottom: 2rem; transition: color 0.2s;
}
.back:hover { color: var(--text); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 2rem; margin-bottom: 1.5rem;
}

.highlight {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 1rem; border-radius: 10px; margin: 1rem 0;
}

table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
th, td { padding: 12px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
th { color: var(--text); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
td { color: var(--text-secondary); }

.last-updated { color: var(--text-secondary); opacity: 0.5; font-size: 0.83rem; margin-top: 3rem; text-align: center; }

@media (max-width: 640px) {
  .container { padding: 5rem 1rem 2.5rem; }
  h1 { font-size: 1.75rem; } h2 { font-size: 1.1rem; }
  .card { padding: 1.25rem; border-radius: 12px; }
  table { font-size: 0.83rem; } th, td { padding: 8px; }
}
@media (max-width: 400px) {
  h1 { font-size: 1.45rem; } .card { padding: 1rem; }
}
