/* ==== 70-legal.css ==== */
/* Privacy page (chrome agent, 2026-10-06): one reading column on the dark stage, set for long text. Prefix .lg- */
/* poster hero (board D-28): one glass lock floats over the horizon world (11-horizon), centred under the heading. A legal page
   reads on: the band is a little under one screen, so the first heading of the text shows. No loop: the shackle closes once
   and the keyhole lights; the pointer (--px/--py, 20-sub.js) turns the lock and slides the shine across the glass. */
.sub-hero.ph.lg-hero{min-height:max(560px,min(86svh,960px))}
.lg-hero .ph-in{grid-template-rows:auto minmax(0,1fr)}
.lg-hero .ph-in>.ph-title{grid-area:1/1}
.lg-hero .ph-in>.lg-vis{grid-area:2/1;align-self:center;justify-self:center;margin:clamp(12px,3vh,40px) 0 clamp(40px,8vh,96px)}
.lg-vis::before{content:"";position:absolute;z-index:-1;left:50%;top:50%;width:260%;aspect-ratio:1;translate:-50% -50%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(110,134,255,.42),rgba(35,53,255,.14) 50%,transparent)}
.lg-lock{display:block;width:auto;height:clamp(210px,40vh,420px);overflow:visible;
  transform:perspective(900px) rotateY(calc(var(--px)*14deg)) rotateX(calc(var(--py)*-9deg));
  filter:drop-shadow(0 40px 50px rgba(3,6,60,.55));-webkit-box-reflect:below 18px linear-gradient(transparent 66%,rgba(255,255,255,.16))}
.lg-shine{translate:calc(var(--px)*110px) 0}
.lg-key{filter:drop-shadow(0 0 8px rgba(160,178,255,.95)) drop-shadow(0 0 22px rgba(60,82,255,.8))}
@media (prefers-reduced-motion:no-preference){
  html.js .lg-shk{animation:lgShut .75s cubic-bezier(.16,1,.3,1) .85s backwards}
  html.js .lg-key{animation:lgKey .8s ease 1.2s backwards}
}
@keyframes lgShut{from{translate:0 -22px}}
@keyframes lgKey{from{opacity:.25}}
@media (max-width:760px){.lg-lock{height:clamp(180px,32vh,300px)}}
.scene.lg{padding-top:clamp(24px,3vw,48px)}
.lg-doc{max-width:68ch;font-size:18px;line-height:1.65;color:var(--on-2);text-wrap:pretty}
.lg-doc h2{margin:56px 0 14px;font-size:clamp(24px,2.2vw,30px);line-height:1.2;letter-spacing:-.02em;font-weight:600;color:var(--on);text-wrap:balance}
.lg-doc h2:first-child{margin-top:0}
.lg-doc p+p,.lg-doc p+ul,.lg-doc ul+p{margin-top:14px}
.lg-doc ul{list-style:disc;padding-left:1.3em}
.lg-doc li+li{margin-top:10px}
.lg-doc li::marker{color:#8FA0FF}
.lg-doc b{font-weight:600;color:var(--on)}
.lg-doc code{font:inherit;font-weight:600;color:var(--on);white-space:nowrap}
.lg-doc a{padding-block:12px;color:#fff;font-weight:600;text-decoration:underline;text-decoration-color:rgba(255,255,255,.45);text-underline-offset:3px;transition:text-decoration-color .2s}
.lg-doc a:hover{text-decoration-color:#fff}
.lg-date{color:var(--on-3)}
/* B09 (2026-11-09): the visit log's opt-out on the page that explains it: a quiet ghost button (never yellow), a toggle with a tick */
.lg-doc .lg-act{margin-top:16px}
.lg-notrack{white-space:normal;text-align:center}
.lg-notrack[aria-pressed="true"]::before{content:"✓";font-weight:700}
@media (max-width:760px){
  .lg-doc h2{margin-top:44px}
  /* phones: the stage's light beam crossed the text column; a dark reading card keeps the contrast even, and its right inset
     keeps most of each line clear of the assistant button */
  .lg-doc{padding:24px 26px 28px 18px;border-radius:24px;background:rgba(3,6,34,.72);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
    font-size:17px}
  .lg-doc h2:first-child{margin-top:0}
}

/* ---------- light theme (2026-10-19) ----------
   A legal page in daylight reads like a printed document: one white paper sheet on the light stage at every width (the photo
   world stays around it), ink text, cobalt links and list marks. The glass lock gets a daylight shadow. */
:root[data-theme="light"] .lg-vis::before{background:radial-gradient(closest-side,rgba(91,107,255,.3),rgba(35,53,255,.1) 50%,transparent)}
:root[data-theme="light"] .lg-lock{filter:drop-shadow(0 36px 44px rgba(11,18,51,.22));-webkit-box-reflect:below 18px linear-gradient(transparent 66%,rgba(255,255,255,.3))}
:root[data-theme="light"] .lg-key{filter:drop-shadow(0 0 8px rgba(255,255,255,.95)) drop-shadow(0 0 20px rgba(60,82,255,.55))}
:root[data-theme="light"] .lg-doc{max-width:calc(68ch + 2 * clamp(28px,4vw,64px));margin-inline:auto;padding:clamp(32px,4vw,60px) clamp(28px,4vw,64px) clamp(36px,4vw,64px);border-radius:28px;
  background:rgba(255,255,255,.92);-webkit-backdrop-filter:var(--lt-blur);backdrop-filter:var(--lt-blur);box-shadow:inset 0 0 0 1px var(--lt-hair),var(--lt-sh-2);color:var(--lt-body)}
:root[data-theme="light"] .lg-doc :is(h2,b,code){color:var(--lt-ink)}
:root[data-theme="light"] .lg-doc li::marker{color:var(--cobalt)}
:root[data-theme="light"] .lg-doc a{color:var(--cobalt-2);text-decoration-color:rgba(35,53,255,.4)}
:root[data-theme="light"] .lg-doc a:hover{text-decoration-color:currentColor}
:root[data-theme="light"] .lg-date{color:var(--lt-muted)}
@media (max-width:760px){
  :root[data-theme="light"] .lg-doc{padding:26px 22px 30px 20px;border-radius:24px}
}
