/* ══════════════════════════════════════
   Specula — Legal Pages Shared Styles
   Inherits all :root variables from style.css
══════════════════════════════════════ */

/* ── HERO STRIP ── */
.l-hero {
  background: linear-gradient(180deg, rgba(99,102,241,0.07) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
  padding: calc(var(--nav-h) + 56px) clamp(20px,5vw,48px) 48px;
  text-align: center;
}
.l-hero-inner {
  max-width: var(--container);
  margin-inline: auto;
}
.l-eyebrow {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2);
  padding: 4px 12px; border-radius: 99px; margin-bottom: 16px;
}
.l-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.15;
  color: var(--t1); margin-bottom: 14px;
}
.l-subtitle {
  font-size: 0.95rem; color: var(--t2); max-width: 640px;
  margin-inline: auto; line-height: 1.7;
}
.l-meta {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  margin-top: 24px; flex-wrap: wrap;
}
.l-meta span {
  font-size: 0.76rem; color: var(--t3);
  display: flex; align-items: center; gap: 5px;
}
.l-meta i { color: var(--teal); }
.l-hero-cta {
  margin-top: 28px;
  display: flex; justify-content: center;
}

/* ── CONTENT BODY ── */
.l-body {
  padding: 56px clamp(20px,5vw,48px) 80px;
  background: linear-gradient(180deg, rgba(99,102,241,0.03) 0%, transparent 40%);
}
.l-body-inner {
  max-width: var(--container);
  margin-inline: auto;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 48px 56px;
}
@media (max-width: 768px) {
  .l-body-inner { padding: 28px 24px; border-radius: 12px; }
}
@media (max-width: 480px) {
  .l-body-inner { padding: 20px 16px; border-radius: 10px; }
}

/* ── TOC ── */
.l-toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  margin-bottom: 48px;
}
.l-toc-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--t3); margin-bottom: 14px;
}
.l-toc ol {
  list-style: none; counter-reset: toc;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px 32px;
}
.l-toc li { counter-increment: toc; }
.l-toc a {
  font-size: 0.83rem; color: var(--t2);
  display: flex; align-items: center; gap: 8px;
}
.l-toc a::before {
  content: counter(toc,decimal-leading-zero);
  font-size: 0.68rem; color: var(--t3); font-family: var(--mono);
  min-width: 20px;
}
.l-toc a:hover { color: var(--teal); }
@media (max-width: 768px) {
  .l-toc ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .l-toc ol { grid-template-columns: 1fr; }
}

/* ── SECTIONS ── */
.l-section {
  margin-bottom: 52px;
  padding-top: 8px;
}
.l-section:last-child { margin-bottom: 0; }
.l-section-num {
  font-size: 0.68rem; font-weight: 700; font-family: var(--mono);
  color: var(--teal); letter-spacing: 0.06em; margin-bottom: 8px;
}
.l-section h2 {
  font-size: 1.3rem; font-weight: 700; color: var(--t1);
  letter-spacing: -0.02em; margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.l-section h3 {
  font-size: 0.95rem; font-weight: 700; color: var(--t1);
  margin: 24px 0 10px;
}
.l-section p {
  font-size: 0.9rem; color: var(--t2); line-height: 1.8;
  margin-bottom: 14px;
}
.l-section p:last-child { margin-bottom: 0; }
.l-section ul, .l-section ol {
  margin: 10px 0 14px 0; padding-left: 0;
  display: flex; flex-direction: column; gap: 8px;
  list-style: none;
}
.l-section ul li, .l-section ol li {
  font-size: 0.88rem; color: var(--t2); line-height: 1.7;
  padding-left: 20px; position: relative;
}
.l-section ul li::before {
  content: '–'; position: absolute; left: 0; color: var(--teal);
}
.l-section ol { counter-reset: lo; }
.l-section ol li { counter-increment: lo; }
.l-section ol li::before {
  content: counter(lo) '.'; position: absolute; left: 0;
  color: var(--teal); font-size: 0.8rem; font-family: var(--mono); font-weight: 700;
}

/* ── HIGHLIGHT BOXES ── */
.l-box {
  background: rgba(99,102,241,0.07);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin: 18px 0;
}
.l-box p { color: var(--t2); font-size: 0.87rem; margin: 0; }
.l-box.warn {
  background: rgba(239,68,68,0.06);
  border-color: rgba(239,68,68,0.2);
}
.l-box.warn p { color: #FCA5A5; }
.l-box.green {
  background: rgba(16,185,129,0.07);
  border-color: rgba(16,185,129,0.2);
}
.l-box.green p { color: #6EE7B7; }

/* ── LINK CHIPS ── */
.l-link-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(6,182,212,0.08); border: 1px solid rgba(6,182,212,0.2);
  border-radius: 99px; padding: 2px 10px;
  font-size: 0.78rem; color: var(--teal);
  transition: all var(--t-fast);
}
.l-link-chip:hover { background: rgba(6,182,212,0.15); color: var(--teal); }

@media (max-width: 640px) {
  .l-title { font-size: 1.6rem; }
}
