/* ============================================================
   EMOTIV — Páginas legales (texto) V2
   ============================================================ */

.nav a.is-current { color: var(--mauve); position: relative; }
.nav a.is-current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--mauve); border-radius: 2px; }

/* ---------- header ---------- */
.lg-hero { padding-top: 140px; padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.lg-hero .eyebrow { margin-bottom: 1rem; }
.lg-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.lg-hero .lg-updated { margin-top: 1.1rem; color: var(--mauve); font-weight: 600; font-size: .95rem; }

/* ---------- body layout: sticky TOC + reading column ---------- */
.lg-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.lg-toc { position: sticky; top: 100px; }
.lg-toc .toc-label { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mauve); margin-bottom: 1rem; }
.lg-toc a { display: block; padding: .5rem 0 .5rem .9rem; border-left: 2px solid var(--line); color: #5a4862; text-decoration: none; font-size: .96rem; font-weight: 500; transition: color .2s, border-color .2s; }
.lg-toc a:hover { color: var(--brand); border-color: var(--mauve); }

.lg-body { max-width: 720px; }
.lg-body section { padding-bottom: 2.2rem; margin-bottom: 2.2rem; border-bottom: 1px solid var(--line); }
.lg-body section:last-child { border-bottom: 0; }
.lg-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 1rem; scroll-margin-top: 100px; }
.lg-body h3 { font-size: 1.15rem; margin-top: 1.6rem; margin-bottom: .6rem; color: var(--brand); }
.lg-body p { color: #3a2842; font-size: 1.08rem; margin-bottom: 1rem; line-height: 1.65; }
.lg-body p strong { color: var(--brand); }
.lg-body a { color: var(--mauve); font-weight: 600; }
.lg-body ul { list-style: none; display: grid; gap: .6rem; margin: 1rem 0 1.2rem; }
.lg-body ul li { display: flex; gap: .7rem; align-items: flex-start; color: #3a2842; font-size: 1.05rem; line-height: 1.55; }
.lg-body ul li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--mauve); margin-top: .6em; }

/* data table for company details / cookies */
.lg-table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.4rem; font-size: 1rem; }
.lg-table th, .lg-table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.lg-table th { font-weight: 700; color: var(--brand); width: 38%; background: var(--tint); }
.lg-table td { color: #3a2842; }
.lg-table tr:last-child th, .lg-table tr:last-child td { border-bottom: 0; }

.lg-card { background: var(--tint); border-radius: var(--radius); padding: clamp(1.3rem, 2.6vw, 1.8rem); margin: 1.2rem 0; }
.lg-card p:last-child { margin-bottom: 0; }

@media (max-width: 820px) {
  .lg-layout { grid-template-columns: 1fr; gap: 2rem; }
  .lg-toc { position: static; display: none; }
}
