/* Estilos compartidos por las páginas legales */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #e85d04;
  --secondary: #1a1a2e;
  --text: #1c1c1c;
  --text-muted: #555;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
}

.legal-header {
  background: var(--secondary);
  color: #fff;
  padding: 28px 20px;
}
.legal-header .inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.legal-header a.back {
  color: #ffd60a;
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
}
.legal-header a.back:hover { text-decoration: underline; }
.legal-header .brand { font-weight: 800; font-size: 1rem; }

main {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

h1 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
}
.updated {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 36px 0 12px;
  line-height: 1.35;
}
h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 24px 0 8px;
}
p { margin-bottom: 14px; color: #333; }
ul, ol { margin: 0 0 16px 22px; }
li { margin-bottom: 8px; color: #333; }
strong { color: #000; }
a { color: var(--primary); }

/* Resalta los datos que el propietario debe completar antes de publicar */
.todo {
  background: #fff3cd;
  border: 1px dashed #d39e00;
  border-radius: 4px;
  padding: 1px 6px;
  font-weight: 700;
  font-size: .93em;
  color: #7a5c00;
}

.box {
  background: #f8f8f2;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
}
.box p:last-child { margin-bottom: 0; }

footer {
  background: var(--secondary);
  color: #8fa3c0;
  text-align: center;
  padding: 28px 20px;
  font-size: .85rem;
}
footer a { color: #8fa3c0; }
