/* =========================================================
   VURO STUDIO | legal.css
   Privacy and Terms pages. Load AFTER styles.css.
   ========================================================= */
.legal-hero { position: relative; isolation: isolate; overflow: clip; padding-top: calc(var(--header-h) + clamp(36px, 6vw, 80px)); padding-bottom: clamp(48px, 7vw, 96px); background: var(--bg); color: var(--fg); }
.legal-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(40% 60% at 90% 20%, rgba(185, 245, 26, 0.14), transparent 70%); }
.legal-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(circle, var(--cream) 1px, transparent 1.7px); background-size: 12px 12px; opacity: 0.07; -webkit-mask-image: linear-gradient(to bottom left, #000, transparent 60%); mask-image: linear-gradient(to bottom left, #000, transparent 60%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 48px); font-size: var(--fs-small); color: var(--muted); }
.crumbs a { text-decoration: none; transition: color 0.25s; }
.crumbs a:hover { color: var(--lime); }
.crumbs [aria-current] { color: var(--fg); }
.legal-hero__title { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -0.055em; line-height: 0.95; }
.legal-hero__lead { max-width: 44ch; margin: 1.2em 0 0; color: rgba(247, 243, 233, 0.82); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.legal-hero__meta { margin: 1.6em 0 0; color: var(--muted); font-size: var(--fs-small); }

.legal__grid { display: grid; gap: clamp(28px, 5vw, 80px); }
@media (min-width: 900px) { .legal__grid { grid-template-columns: 0.55fr 1.45fr; align-items: start; } .legal__side { position: sticky; top: calc(var(--header-h) + 32px); } }

.legal__toc-h { margin: 0 0 1em; color: var(--muted); font-size: var(--fs-small); font-weight: 500; }
.legal__toc { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; counter-reset: toc; border-left: 1.5px solid var(--line); }
.legal__toc a { position: relative; display: block; padding: 0.4em 0 0.4em 16px; color: var(--muted); font-size: 0.95rem; text-decoration: none; transition: color 0.25s, padding 0.35s var(--ease); }
.legal__toc a::before { content: ""; position: absolute; left: -2px; top: 50%; width: 2.5px; height: 0; border-radius: 2px; background: var(--ink); transform: translateY(-50%); transition: height 0.35s var(--ease); }
.legal__toc a:hover { color: var(--fg); }
.legal__toc a.is-on { padding-left: 22px; color: var(--fg); font-weight: 700; }
.legal__toc a.is-on::before { height: 100%; }
@media (max-width: 899px) { .legal__toc { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; border: 0; } .legal__toc a { padding: 0.5em 1em; border: 1px solid var(--line); border-radius: 99px; white-space: nowrap; } .legal__toc a::before { display: none; } .legal__toc a.is-on { padding-left: 1em; background: var(--ink); color: var(--cream); } }

.legal__body { max-width: 68ch; }
.legal__sec { padding-bottom: clamp(28px, 4vw, 44px); margin-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.legal__sec h2 { margin-bottom: 0.6em; font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; letter-spacing: -0.04em; }
.legal__sec p { margin: 0 0 1em; color: var(--muted); line-height: 1.7; }
.legal__sec ul { margin: 0 0 1em; padding: 0; list-style: none; display: grid; gap: 0.6em; }
.legal__sec li { position: relative; padding-left: 26px; color: var(--muted); line-height: 1.65; }
.legal__sec li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 11px; height: 11px; background: var(--accent); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.legal__sec strong { color: var(--fg); }
.legal__sec a { color: var(--fg); text-underline-offset: 4px; }
.legal__sec a:hover { color: var(--accent); }

.legal__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: clamp(22px, 3vw, 32px); border-radius: 24px; background: var(--ink); color: var(--cream); }
.legal__end p { max-width: 36ch; margin: 0; color: rgba(247, 243, 233, 0.82); }
.legal__end p a { color: var(--cream); }
.legal__end .btn--ink { background: var(--lime); color: var(--ink); }
