/* ==========================================================
   Medcule Lifesciences — Legal pages
   ========================================================== */
.legal-hero h1 { max-width: none !important; }
.legal-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.legal-grid > * { min-width: 0; }

/* Side column */
.lg-side { position: sticky; top: 110px; display: grid; gap: 18px; }
.lg-updated { padding: 18px 20px; border-radius: 16px; background: #f2f7fd; border: 1px solid #e3ecf6; }
.lg-updated span { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lg-updated strong { font-family: var(--font-head); font-weight: 800; color: #071a3d; }
.lg-toc { padding: 18px 12px; border-radius: 16px; border: 1px solid #e3ecf6; background: #fff; display: grid; gap: 2px; }
.lg-toc h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 10px 8px; }
.lg-toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: .92rem; color: var(--text); transition: background .25s, color .25s; }
.lg-toc a span { font-family: var(--font-head); font-weight: 700; font-size: .78rem; color: var(--blue); padding-top: 2px; }
.lg-toc a:hover { background: #f2f7fd; color: var(--navy); }
.lg-other { display: grid; gap: 6px; }
.lg-other a { padding: 10px 14px; border-radius: 12px; font-size: .9rem; font-weight: 600; color: var(--navy); border: 1px solid transparent; }
.lg-other a:hover { background: #f2f7fd; }
.lg-other a.current { border-color: #e3ecf6; background: #fff; color: var(--green-600); }

/* Body */
.lg-body { display: grid; gap: 14px; }
.lg-sec { padding: 26px 30px; border-radius: 18px; background: #fff; border: 1px solid #e3ecf6; scroll-margin-top: 100px; }
.lg-sec h2 { display: flex; align-items: baseline; gap: 12px; font-size: 1.3rem !important; line-height: 1.3 !important; max-width: none !important; padding: 0 !important; margin: 0 0 12px !important; letter-spacing: -.01em !important; }
.lg-sec h2::after { display: none !important; }
.lg-sec h2 span { font-size: .85rem; color: var(--green-600); font-weight: 800; }
.lg-sec p { max-width: 72ch; font-size: 1rem; line-height: 1.75; color: var(--text); }
.lg-sec p + p, .lg-sec ul + p, .lg-sec p + ul { margin-top: 10px; }
.lg-sec ul { display: grid; gap: 8px; }
.lg-sec li { position: relative; padding-left: 22px; line-height: 1.65; color: var(--text); }
.lg-sec li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.lg-sec strong { color: #071a3d; }
.lg-sec a { color: var(--blue); font-weight: 600; }

@media (max-width: 960px) {
  .legal-grid { grid-template-columns: 1fr; }
  .lg-side { position: static; }
  .lg-toc { display: none; }
  .lg-other { grid-template-columns: repeat(3, auto); justify-content: start; }
}
@media (max-width: 640px) {
  .lg-sec { padding: 20px 18px; border-radius: 16px; }
  .lg-sec h2 { font-size: 1.12rem !important; }
  .lg-sec p, .lg-sec li { font-size: .95rem; }
  .lg-other { grid-template-columns: 1fr; }
}
