/* ============================================
   KIPKUL — Legal pages (privacidad, aviso legal, cookies)
   Deliberately plain: no hero, no video, no animation.
   These documents need to be readable, linkable and durable.
   ============================================ */
:root {
  --page: #F3F2F0;
  --white: #FFFFFF;
  --text: #111111;
  --text-body: #2A2A2A;
  --text-muted: #6B6B6B;
  --border: rgba(0,0,0,0.10);
  --night: #252a41;
  --accent: #ff6b4a;
  --kickstarter: #40BA76;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--text-body);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header ---------- */
.lg-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.lg-nav-inner {
  max-width: 940px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.lg-logo img { height: 26px; display: block; }
.lg-nav-right { display: flex; align-items: center; gap: 18px; }
.lg-back {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
}
.lg-back:hover { color: var(--text); }

.lg-langs { display: flex; align-items: center; gap: 6px; }
.lg-lang {
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 999px;
  padding: 5px 12px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  cursor: pointer;
}
.lg-lang.is-active {
  background: var(--night);
  border-color: var(--night);
  color: var(--white);
}

/* ---------- Document ---------- */
.lg-wrap {
  max-width: 940px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.lg-doc { max-width: 70ch; }

.lg-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 12px;
}
.lg-doc h1 {
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 14px;
  font-weight: 800;
}
.lg-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 40px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
}
.lg-doc h2 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text);
  font-weight: 800;
  margin: 42px 0 12px;
}
.lg-doc h3 {
  font-size: 16px;
  color: var(--text);
  font-weight: 800;
  margin: 26px 0 8px;
}
.lg-doc p { margin: 0 0 16px; }
.lg-doc ul { margin: 0 0 16px; padding-left: 22px; }
.lg-doc li { margin-bottom: 8px; }
.lg-doc a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.lg-doc a:hover { color: var(--accent); }
.lg-doc strong { color: var(--text); font-weight: 700; }

/* Definition rows used for company data and data categories */
.lg-rows { border-top: 1px solid var(--border); margin: 0 0 20px; }
.lg-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.lg-row dt { font-weight: 700; color: var(--text); margin: 0; }
.lg-row dd { margin: 0; }
@media (max-width: 620px) {
  .lg-row { grid-template-columns: 1fr; gap: 2px; }
}

/* Data table */
.lg-table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 14.5px; }
.lg-table th, .lg-table td {
  text-align: left;
  vertical-align: top;
  padding: 11px 12px 11px 0;
  border-bottom: 1px solid var(--border);
}
.lg-table th { font-weight: 800; color: var(--text); border-bottom-color: rgba(0,0,0,0.2); }
.lg-table-wrap { overflow-x: auto; }

/* Placeholders the company still has to fill in */
.todo {
  background: #FFE9C7;
  color: #6B4A00;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  white-space: nowrap;
}

/* Notice box */
.lg-note {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 16px 18px;
  margin: 0 0 26px;
  font-size: 14.5px;
}
.lg-note p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.lg-foot {
  border-top: 1px solid var(--border);
  background: var(--white);
}
.lg-foot-inner {
  max-width: 940px;
  margin: 0 auto;
  padding: 26px 24px 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
}
.lg-foot a { color: var(--text-muted); text-decoration: none; }
.lg-foot a:hover { color: var(--text); text-decoration: underline; }
.lg-foot-sep { color: var(--border); }

/* Language blocks */
[data-lang-block] { display: none; }
[data-lang-block].is-shown { display: block; }
