/* Privacy policy pages — same tokens as css/styles.css */

:root {
  --bg-deep: #050b14;
  --bg-mid: #08111f;
  --card: #101b2d;
  --accent-blue: #3b82f6;
  --text-primary: #f5f4f2;
  --text-secondary: #b8c0cc;
  --border: rgba(255, 255, 255, 0.06);
  --radius-lg: 24px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(59, 130, 246, 0.12), transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(139, 92, 246, 0.06), transparent 45%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 35%, var(--bg-deep) 100%);
  -webkit-font-smoothing: antialiased;
}

.privacy-header,
.privacy-footer__inner,
.privacy {
  width: min(760px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}

.privacy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0.75rem 0;
}

.privacy-brand {
  display: block;
  line-height: 0;
}

.privacy-brand img {
  width: 140px;
  height: auto;
}

.privacy-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
}

.privacy-lang a {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.privacy-lang a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.privacy-lang a[aria-current="page"] {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.privacy {
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
  padding: 2rem 1.5rem 2.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.privacy h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.privacy h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.privacy p,
.privacy li {
  margin: 0.75rem 0;
  color: var(--text-secondary);
}

.privacy .privacy-date {
  margin-top: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-blue);
}

.privacy strong,
.privacy b {
  color: var(--text-primary);
  font-weight: 600;
}

.privacy a {
  color: var(--accent-blue);
  text-decoration: none;
}

.privacy a:hover {
  text-decoration: underline;
}

.privacy ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.privacy li {
  margin: 0.35rem 0;
}

.privacy-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2.5rem;
}

.privacy-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.privacy-footer p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.privacy-footer a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-blue);
  text-decoration: none;
}

.privacy-footer a:hover {
  opacity: 0.85;
}

@media (max-width: 640px) {
  .privacy {
    padding: 1.5rem 1.1rem 1.75rem;
    border-radius: 16px;
  }
}
