/* Privacy, legal pages and corporate disclosure */
.footer-stack { display: grid; gap: 18px; }
.company-disclosure { margin: 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); color: #8f887d; font-size: 12px; line-height: 1.55; }
.footer-link-button { appearance: none; border: 0; background: transparent; padding: 0; color: #d7d0c3; font: inherit; cursor: pointer; }
.footer-link-button:hover, .footer-link-button:focus-visible { color: #fff; text-decoration: underline; }
.privacy-check label { display: grid; grid-template-columns: 20px 1fr; gap: 9px; align-items: start; font-size: 13px; color: var(--muted); }
.privacy-check input { width: 18px; height: 18px; margin-top: 2px; }
.privacy-check a { color: var(--ink); font-weight: 750; }
.legal-hero { padding: 64px 0 34px; background: var(--paper); }
.legal-hero h1 { max-width: 900px; margin: 14px 0 18px; font-size: clamp(40px, 6vw, 70px); line-height: 1.02; letter-spacing: -.045em; }
.legal-hero p { max-width: 760px; color: var(--muted); font-size: 18px; }
.legal-updated { font-size: 14px !important; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 54px; align-items: start; }
.legal-content { min-width: 0; }
.legal-content h2 { margin: 44px 0 12px; font-size: 30px; line-height: 1.15; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 28px 0 8px; font-size: 21px; }
.legal-content p, .legal-content li { color: #4f4a42; font-size: 16px; }
.legal-content a { color: #765817; font-weight: 700; }
.legal-content code { white-space: nowrap; }
.legal-aside { position: sticky; top: 110px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.legal-aside h2 { margin-top: 0; font-size: 23px; }
.legal-aside p { color: var(--muted); }
.legal-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.legal-table { width: 100%; min-width: 720px; border-collapse: collapse; background: #fff; }
.legal-table th, .legal-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { background: var(--paper); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.legal-table tr:last-child td { border-bottom: 0; }

.cookie-banner { position: fixed; z-index: 3000; left: 20px; right: 20px; bottom: 20px; max-width: 1180px; margin: auto; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: center; padding: 22px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: #18150f; color: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.38); }
.cookie-banner[hidden], .cookie-modal[hidden] { display: none !important; }
.cookie-banner-copy strong { font-size: 20px; }
.cookie-banner-copy p { margin: 7px 0 0; max-width: 720px; color: #d5cec1; font-size: 14px; line-height: 1.5; }
.cookie-banner-copy a { color: #f0c96b; }
.cookie-banner-actions { display: flex; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-btn { min-height: 44px; border-radius: 11px; padding: 11px 15px; font: inherit; font-weight: 800; cursor: pointer; }
.cookie-btn-primary { border: 1px solid var(--gold); background: var(--gold); color: #17130b; }
.cookie-btn-secondary { border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; }
.cookie-btn:hover, .cookie-btn:focus-visible { filter: brightness(1.08); }
.cookie-modal { position: fixed; z-index: 3100; inset: 0; display: grid; place-items: center; padding: 20px; }
.cookie-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.68); backdrop-filter: blur(5px); }
.cookie-modal-card { position: relative; width: min(620px,100%); max-height: calc(100vh - 40px); overflow: auto; padding: 30px; border-radius: 24px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.4); }
.cookie-modal-card h2 { margin: 0 38px 8px 0; font-size: 30px; }
.cookie-modal-card > p { color: var(--muted); }
.cookie-modal-close { position: absolute; top: 16px; right: 18px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 28px; cursor: pointer; }
.cookie-category { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.cookie-category strong, .cookie-category span { display: block; }
.cookie-category span { margin-top: 4px; color: var(--muted); font-size: 13px; }
.cookie-switch { min-width: 112px; }
.cookie-switch input { width: 18px; height: 18px; vertical-align: middle; }
.cookie-switch span { display: inline; margin-left: 5px; color: var(--ink); font-weight: 700; }
.cookie-modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.cookie-modal-card .cookie-btn-secondary { border-color: var(--line); color: var(--ink); }
.cookie-policy-link { margin-bottom: 0; font-size: 13px; }
.cookie-policy-link a { color: #765817; font-weight: 700; }
.cookie-modal-open { overflow: hidden; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-aside { position: static; }
  .cookie-banner { grid-template-columns: 1fr; }
  .cookie-banner-actions { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 17px; border-radius: 16px; }
  .cookie-banner-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-banner-actions .cookie-btn-primary { grid-column: 1 / -1; }
  .cookie-btn { width: 100%; }
  .cookie-modal { padding: 8px; }
  .cookie-modal-card { padding: 22px 18px; border-radius: 18px; }
  .cookie-category { grid-template-columns: 1fr; }
  .cookie-modal-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .legal-hero { padding-top: 46px; }
  .legal-content h2 { font-size: 26px; }
}
