/* ══════════════════════════════════════════════════════════
   ERS – Legal Pages | legal.css
   ══════════════════════════════════════════════════════════ */

.legal-main {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

.legal-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 40px 120px;
}

/* ─── HEADER ───────────────────────────────────────────── */
.legal-header {
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--text-primary);
  margin: 24px 0 12px;
  line-height: 1.1;
}

.legal-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ─── DISCLAIMER NOTE ──────────────────────────────────── */
.legal-disclaimer-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  margin-bottom: 48px;
}

.legal-disclaimer-note svg {
  stroke: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.legal-disclaimer-note p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.legal-disclaimer-note strong {
  color: var(--gold);
}

/* ─── CONTENT ──────────────────────────────────────────── */
.legal-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.legal-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
}

.legal-section p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(201,168,76,0.3);
  transition: text-decoration-color 0.2s;
}

.legal-section a:hover {
  text-decoration-color: var(--gold);
}

.legal-section strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* ─── LIST ─────────────────────────────────────────────── */
.legal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
  padding-left: 0;
}

.legal-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.65;
  list-style: none;
  padding-left: 20px;
  position: relative;
}

.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ─── PLACEHOLDER TEXT ─────────────────────────────────── */
.placeholder {
  color: var(--gold);
  background: rgba(201,168,76,0.08);
  border: 1px dashed rgba(201,168,76,0.3);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.85rem;
  font-style: italic;
}

/* ─── DISCLAIMER BOX ───────────────────────────────────── */
.legal-disclaimer-box {
  margin-top: 60px;
  padding: 40px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.legal-disclaimer-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold) 40%, var(--gold-light) 60%, transparent);
}

.legal-disclaimer-box h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.legal-disclaimer-box > p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.legal-disclaimer-box strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* ─── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 768px) {
  .legal-container { padding: 40px 20px 72px; }
  .legal-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .legal-header { margin-bottom: 40px; padding-bottom: 36px; }
  .legal-section { padding: 28px 0; }
  .legal-section h2 { font-size: 1.1rem; }
  .legal-disclaimer-box { padding: 24px 20px; margin-top: 40px; }
  .legal-disclaimer-box h3 { font-size: 1.2rem; }
  .legal-list li { font-size: 0.875rem; }
}

@media (max-width: 390px) {
  .legal-container { padding: 32px 16px 60px; }
}
