/* Thor 2026-11-02 · Private preview legal footer and bilingual notices. */
.firma-legal {grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 20px;padding:12px 0 20px;color:inherit;font:inherit;}
.firma-legal .signature,.firma-legal nav,.firma-legal a {display:flex;align-items:center;gap:8px;}
.firma-legal .signature,.firma-legal nav {gap:16px;}
.firma-legal .signature>span,.firma-legal a {font-size:12px;}
.firma-legal a {min-height:44px;color:inherit;text-decoration:none;}
.firma-legal nav a:hover,.firma-legal nav a:focus-visible {text-decoration:underline;}
.firma-legal .signature img {width:84px;height:auto;}
/* Apollo 2026-11-05: monochrome legal reading surface; Outfit local OFL source. */
.legal-page {margin:0;background:#fff;color:#000;font:20px/1.7 'Outfit',sans-serif;-webkit-font-smoothing:antialiased;}
.legal-page * {box-sizing:border-box;}
.legal-page main {width:100%;max-width:calc(72ch + 6rem);margin:0 auto;padding:3rem clamp(1.25rem,5vw,3rem) 6rem;}
.legal-page a {color:inherit;text-underline-offset:.2em;}
.legal-header {padding-bottom:2.5rem;}
.legal-brand {font-size:1.5rem;font-weight:600;letter-spacing:-.04em;margin-bottom:2.2rem;}
.legal-back {display:inline-flex;align-items:center;min-height:44px;font-size:1rem;text-decoration:none;}
.legal-back:hover {text-decoration:underline;}
.legal-documents {display:flex;flex-wrap:wrap;gap:.5rem 2rem;margin:2rem 0 3rem;border-bottom:1px solid #ddd;}
.legal-documents a {display:flex;flex-direction:column;justify-content:center;min-height:64px;padding:.5rem 0 .8rem;text-decoration:none;border-bottom:2px solid transparent;}
.legal-documents a[aria-current="page"] {border-bottom-color:#000;}
.legal-documents a span {font-size:.75rem;line-height:1.5;}
.legal-page h1 {max-width:20ch;font-size:clamp(2.5rem,5.5vw,4rem);line-height:1.08;font-weight:600;letter-spacing:-.045em;margin:0 0 1.5rem;}
.legal-page h1 small {display:block;font-size:1.15rem;line-height:1.5;font-weight:400;letter-spacing:0;margin-top:1rem;}
.legal-page .edition {font-size:.9rem;line-height:1.6;margin:0 0 1.5rem;}
.legal-languages {display:flex;flex-wrap:wrap;gap:1.5rem;}
.legal-languages a {display:inline-flex;align-items:center;min-height:44px;font-size:.9rem;}
.legal-language {margin-top:3rem;scroll-margin-top:1.5rem;}
.legal-page .legal-language-title {font-size:.9rem;font-weight:500;margin:0 0 1rem;}
.legal-reading-layout {display:grid;grid-template-columns:minmax(0,1fr);gap:2.5rem;}
.legal-reading-layout>* {min-width:0;}
.legal-index-desktop {display:none;}
.legal-index-mobile {display:block;border-bottom:1px solid #ddd;}
.legal-index summary {cursor:pointer;min-height:48px;padding:.6rem 0;font-size:1rem;}
.legal-index-count {font-size:.8rem;margin-left:1rem;font-variant-numeric:tabular-nums;}
.legal-index ol {list-style:none;padding:0;margin:.5rem 0 1.5rem;}
.legal-index a {display:grid;grid-template-columns:1.6rem minmax(0,1fr);gap:.5rem;align-items:start;min-height:44px;padding:.5rem 0;font-size:.9rem;line-height:1.5;text-decoration:none;overflow-wrap:anywhere;}
.legal-index a:hover {text-decoration:underline;}
.legal-index-number {font-size:.8rem;font-variant-numeric:tabular-nums;}
.legal-page .legal-body section {margin:3rem 0 0;scroll-margin-top:1.5rem;}
.legal-page .legal-body section:first-child {margin-top:0;}
.legal-page section h3 {font-size:clamp(1.3rem,2.4vw,1.6rem);line-height:1.35;font-weight:600;letter-spacing:-.025em;margin:0 0 1rem;overflow-wrap:anywhere;}
.legal-page section p {margin:1rem 0;overflow-wrap:anywhere;}
.legal-page a:focus-visible,.legal-page summary:focus-visible {outline:2px solid #000;outline-offset:4px;}
@media(max-width:640px) {
  .legal-page {font-size:18px;}
  .legal-page main {padding:1.5rem 1.25rem 4rem;}
  .legal-brand {margin-bottom:1.5rem;}
  .legal-documents {margin:1.5rem 0 2.5rem;gap:.5rem 1.5rem;}
  .legal-header {padding-bottom:1.5rem;}
  .legal-reading-layout {gap:2rem;}
}

/* Hermes 2026-11-02 · Attribution transferred to Alkor Astra; preserve Firma type. */
.firma-legal .astra-attribution {display:inline-flex;align-items:center;gap:8px;min-height:44px;}
.firma-legal .astra-attribution strong {font-family:inherit;font-size:14px;font-weight:650;letter-spacing:-.02em;white-space:nowrap;}

/* Apollo 2026-11-02: a quiet centered close, separate from the artist directory. */
body.firma .firma-legal {
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:0;width:100%;padding:30px 24px 8px;text-align:center;
}
body.firma .firma-legal .astra-attribution {gap:8px;min-height:32px;}
body.firma .firma-legal .astra-attribution>span {font-size:12px;color:#cabaac;}
body.firma .firma-legal .astra-attribution strong {font-size:16px;}
body.firma .firma-legal nav {justify-content:center;flex-wrap:wrap;gap:4px 24px;}
/* Apollo 2026-11-05: the cookie preference action shares the legal link style. */
body.firma .firma-legal nav a,body.firma .firma-legal nav .privacy-settings {font-size:12px;color:#ded5c7;}
body.firma .firma-year {margin-top:4px;color:#a99c8b;font-size:10px;letter-spacing:.12em;}
