/* Shared styles for legal pages — imported by privacidad.html, aviso-legal.html, cookies.html */
:root {
  --paper: #FAFAF5; --paper-soft: #F2F1EA; --mint-tint: #E8F5EE;
  --signal: #00C896; --forest: #073B2D; --ink: #0B1715;
  --ink-60: rgba(11,23,21,0.62); --ink-40: rgba(11,23,21,0.40); --ink-10: rgba(11,23,21,0.10);
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;
  --radius-md: 14px; --radius-pill: 999px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--paper); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.container { max-width: 820px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }

nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,245,0.80); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-10);
}
nav .inner { max-width: 1240px; margin: 0 auto; padding: 16px 28px; display: flex; align-items: center; justify-content: space-between; }
.brand-mark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 24px; letter-spacing: -0.045em;
  text-decoration: none; color: var(--ink); font-weight: 400; line-height: 1;
}
.wordmark { display: inline-flex; align-items: baseline; letter-spacing: inherit; }
.wordmark .italic-a { font-style: italic; margin: 0 -0.045em; }
.wordmark .accent { color: var(--signal); margin-left: -0.02em; }
.brand-mark .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 0 4px rgba(0,200,150,0.18);
  animation: pulse 2.8s ease-in-out infinite; flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 4px rgba(0,200,150,0.18); }
  50% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(0,200,150,0.08); }
}
.back-link {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-60); text-decoration: none;
}
.back-link:hover { color: var(--ink); }

main { padding: 80px 0 120px; }
h1.legal-title {
  font-family: var(--serif); font-size: clamp(48px, 7vw, 88px); line-height: 0.98;
  letter-spacing: -0.04em; font-weight: 400; margin-bottom: 16px;
}
h1.legal-title em { font-style: italic; color: var(--forest); }
.legal-meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-40); margin-bottom: 48px; padding-bottom: 24px; border-bottom: 1px solid var(--ink-10);
}
main h2 {
  font-family: var(--serif); font-size: 28px; line-height: 1.2; letter-spacing: -0.02em;
  font-weight: 400; margin-top: 44px; margin-bottom: 14px;
}
main h2 em { font-style: italic; color: var(--forest); }
main h3 {
  font-family: var(--sans); font-size: 16px; font-weight: 600;
  margin-top: 24px; margin-bottom: 8px;
}
main p { font-size: 16px; color: var(--ink); margin-bottom: 14px; max-width: 680px; }
main p + p { margin-top: 4px; }
main ul, main ol { padding-left: 22px; margin: 10px 0 18px; max-width: 680px; }
main li { font-size: 16px; margin-bottom: 8px; line-height: 1.55; }
main strong { font-weight: 600; }
main a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
main a:hover { color: var(--signal); }
main .block {
  background: var(--paper-soft); border: 1px solid var(--ink-10);
  border-radius: var(--radius-md); padding: 24px; margin: 18px 0;
}
main .block .label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-40); margin-bottom: 6px;
}
table {
  width: 100%; max-width: 680px; border-collapse: collapse; margin: 18px 0 28px;
  font-size: 14px; border: 1px solid var(--ink-10); border-radius: var(--radius-md); overflow: hidden;
}
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--ink-10); vertical-align: top; }
th {
  background: var(--paper-soft);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-60); font-weight: 500;
}
tr:last-child td { border-bottom: none; }

footer {
  background: var(--ink); color: var(--paper); padding: 48px 0 32px;
}
.foot-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 28px; line-height: 1; letter-spacing: -0.045em;
  color: var(--paper); text-decoration: none; font-weight: 400; margin-bottom: 32px;
}
.foot-brand .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 0 4px rgba(0,200,150,0.18);
}
.foot-bottom {
  padding-top: 32px; border-top: 1px solid rgba(250,250,245,0.10);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: var(--mono); font-size: 11px; color: rgba(250,250,245,0.50);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.foot-bottom a { color: rgba(250,250,245,0.50); text-decoration: none; margin-left: 24px; transition: color 0.2s; }
.foot-bottom a:hover { color: var(--signal); }
