/* Paginas legales estaticas de KasaIA — tokens copiados 1:1 de
   src/app/globals.css del repo de la app (estas paginas viven en public/ y
   no pasan por el build de Tailwind, asi que no pueden usar sus clases). */

:root {
  --background: #15110c;
  --surface: #1e1811;
  --foreground: #f1e8d9;
  --muted-foreground: #b0a288;
  --border: #33291c;
  --accent: #d6ad63;
  --accent-strong: #efc988;
  --font-serif: "Marcellus", ui-serif, Georgia, serif;
  --font-sans: "Montserrat", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
}

a {
  color: var(--accent-strong);
}

/* ============ NAV ============ */

.nav-inner,
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.nav-logo img {
  display: block;
  height: 32px;
  width: auto;
}

.btn-primary {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #1a1509;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}

/* ============ CONTENIDO LEGAL ============ */

.legal-page {
  padding: 72px 24px 96px;
}

.legal-inner {
  max-width: 720px;
  margin: 0 auto;
}

.legal-lang-switch {
  margin-bottom: 32px;
  font-size: 0.85rem;
}

.legal-lang-switch a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  color: var(--foreground);
  margin-bottom: 8px;
}

.legal-content > p:first-of-type {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--accent-strong);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.legal-content p {
  color: var(--foreground);
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 16px;
  padding-left: 24px;
  color: var(--foreground);
  line-height: 1.7;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--foreground);
  font-weight: 600;
}

.legal-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  margin: 0 0 24px;
  background: rgba(214, 173, 99, 0.08);
  border-radius: 8px;
}

.legal-content blockquote p {
  margin-bottom: 8px;
}

.legal-content blockquote p:last-child {
  margin-bottom: 0;
}

/* ============ FOOTER ============ */

.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 20px;
}

.footer-links a {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.85rem;
}

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

.footer-copy {
  color: var(--muted-foreground);
  font-size: 0.75rem;
  margin: 0;
}
