/* OCT LEGAL · the footer line and the two legal pages, in the hub's own look. Same origin, no inline style. */

/* ── the footer line (11-16, owner: not a floating pill, "at the bottom of all pages"): an ordinary
   footer row at the very end of the page's content; /_oct/legal.js moves it to the end of the
   page's own scrolling area when the page scrolls inside a panel, and seats it on the floor of a
   short page. It never floats over anything. ── */
.oct-legal{position:static;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:2px 26px;
  box-sizing:border-box;width:100%;max-width:none;flex:0 0 auto;align-self:stretch;justify-self:stretch;grid-column:1/-1;clear:both;
  margin:0;padding:18px 16px 20px;border:0;border-top:1px solid rgba(201,162,90,.16);border-radius:0;
  background:transparent;box-shadow:none;color:#ad9f80;opacity:1;
  font:600 11px/1.4 Cinzel,"Trajan Pro",Georgia,serif;letter-spacing:1.8px;text-transform:uppercase;white-space:nowrap;text-align:center}
.oct-legal a{display:inline-block;padding:6px 2px!important;min-height:24px;box-sizing:border-box;
  color:inherit!important;text-decoration:none!important;font:inherit!important;letter-spacing:inherit!important;
  text-transform:inherit!important;background:none!important;border:0!important;transition:color .15s ease}
.oct-legal a:hover,.oct-legal a:focus-visible{color:#f0d69a!important;outline:none}
.oct-legal a:focus-visible{text-decoration:underline!important;text-underline-offset:4px}
.oct-legal-c{display:none}
/* a one-screen page with no room below its content: the line lies on the page's bottom edge, still part of the page */
.oct-legal.ol-pin{position:absolute;left:0;right:0;bottom:0;z-index:5;border-top:0;padding:8px 16px 10px;background:linear-gradient(180deg,transparent,rgba(8,4,4,.55))}
@media (max-width:640px){.oct-legal{gap:2px 20px;font-size:10.5px;letter-spacing:1.5px;padding:16px 12px 18px}}
@media print{.oct-legal{display:none!important}}

/* ── the two legal pages: the hub's door card ── */
body.lp{--ink:#f2e6cf;--dim:#b7a887;--ash:#8a7c62;--gold:#e0be6f;--gold2:#f0d69a;--line:rgba(201,162,90,.2);--rline:rgba(160,40,44,.35);
  margin:0;height:100vh;height:100dvh;overflow:hidden;display:grid;place-items:center;position:relative;
  background:#0a0505;color:var(--ink);font-family:"EB Garamond",Georgia,serif;-webkit-font-smoothing:antialiased}
html:has(body.lp){height:100%;background:#0a0505}
body.lp::before{content:"";position:fixed;inset:0;pointer-events:none;
  background:
    radial-gradient(62% 52% at 18% 2%, rgba(161,28,34,.22) 0%, rgba(161,28,34,.13) 24%, rgba(161,28,34,.05) 48%, transparent 84%),
    radial-gradient(56% 48% at 85% 4%, rgba(224,190,111,.13) 0%, rgba(224,190,111,.06) 32%, transparent 80%),
    radial-gradient(135% 105% at 50% -14%, transparent 38%, rgba(0,0,0,.10) 60%, rgba(0,0,0,.26) 78%, rgba(0,0,0,.44) 90%, rgba(0,0,0,.60) 100%)}
.lp *{box-sizing:border-box}
.lp-card{position:relative;width:min(640px,92vw);max-height:94dvh;overflow-y:auto;padding:28px 32px 22px;border-radius:18px;
  border:1px solid var(--line);border-top-color:var(--rline);background:rgba(26,15,12,.72);
  -webkit-backdrop-filter:blur(16px) saturate(1.2);backdrop-filter:blur(16px) saturate(1.2);
  box-shadow:0 30px 80px rgba(0,0,0,.6);scrollbar-width:thin;scrollbar-color:rgba(201,162,90,.25) transparent}
.lp-crest{display:block;width:58px;height:58px;object-fit:contain;margin:0 auto 10px;filter:drop-shadow(0 4px 14px rgba(224,190,111,.3))}
.lp h1{font-family:Cinzel,serif;font-weight:700;font-size:18px;letter-spacing:3px;color:var(--gold2);text-align:center;margin:0 0 4px;
  text-shadow:0 2px 26px rgba(224,190,111,.22)}
.lp-d{text-align:center;color:var(--ash);font-size:12px;letter-spacing:.5px;margin:0 0 16px}
.lp-i{margin:0 0 14px;font-size:15.5px;line-height:1.55;color:var(--ink);text-align:center}
.lp details{border-top:1px solid var(--line)}
.lp details:last-of-type{border-bottom:1px solid var(--line)}
.lp summary{cursor:pointer;list-style:none;padding:11px 4px;display:flex;justify-content:space-between;align-items:center;
  font-family:Cinzel,serif;font-weight:600;color:var(--gold);font-size:12.5px;letter-spacing:1.6px;text-transform:uppercase;transition:color .15s}
.lp summary::-webkit-details-marker{display:none}
.lp summary::after{content:"+";color:var(--ash);font-family:"EB Garamond",Georgia,serif;font-size:19px;line-height:1;transition:transform .2s}
.lp details[open] summary::after{transform:rotate(45deg)}
.lp summary:hover{color:var(--gold2)}
.lp-b{padding:0 4px 13px;font-size:15.5px;line-height:1.55}
.lp-b p{margin:0 0 8px}
.lp-b ul{margin:0 0 8px;padding-left:18px}
.lp-b li{margin:0 0 6px}
.lp-b li::marker{color:var(--gold)}
.lp-b b{color:var(--gold2);font-weight:600}
.lp a{color:var(--gold2);text-decoration:underline;text-decoration-color:rgba(240,214,154,.4);text-underline-offset:2px}
.lp a:hover{text-decoration-color:var(--gold2)}
.lp-n{display:flex;flex-wrap:wrap;justify-content:center;gap:22px;margin-top:16px;
  font-family:Cinzel,serif;font-size:10.5px;letter-spacing:1.4px;text-transform:uppercase}
.lp-n a{color:var(--dim);text-decoration:none}
.lp-n a:hover{color:var(--gold2)}
@media (max-width:640px){.lp-card{padding:22px 18px 18px;border-radius:14px}.lp h1{font-size:16px;letter-spacing:2.4px}.lp-i,.lp-b{font-size:15px}}
