/* Policy reading pages extend the established YUNOV typography and canvas. */
.footer-main { display:flex; flex-wrap:wrap; align-items:center; gap:24px; width:100%; }
.footer-main .footer-signature { margin-left:auto; }
.footer-legal { width:100%; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px 32px; }
.footer-legal small { font-size:12px; line-height:1.6; }
.footer-legal-links { display:flex; flex-wrap:wrap; gap:8px 24px; font-size:13px; line-height:1.6; }
.footer-legal-links a { padding-block:6px; transition:color .2s; }
.footer-legal-links a:hover, .footer-legal-links a[aria-current="page"] { color:var(--accent-ink); }
.footer-legal-links a:focus-visible, .legal-navigation a:focus-visible { outline:2px solid var(--accent-ink); outline-offset:4px; border-radius:6px; }
.legal-layout { max-width:1120px; margin-inline:auto; display:grid; grid-template-columns:210px minmax(0,1fr); align-items:start; gap:72px; }
.legal-sidebar { position:sticky; top:112px; }
.legal-navigation { display:grid; gap:8px; }
.legal-label-short { display:none; }
.legal-navigation a { padding:12px 16px; color:var(--muted); font-size:15px; font-weight:500; line-height:1.4; border-radius:8px; transition:color .2s, background .2s; }
.legal-navigation a:hover { color:var(--text); background:var(--content-group); }
.legal-navigation a[aria-current="page"] { color:var(--accent-ink); background:var(--content-group-focus); }
.legal-document { min-width:0; }
.legal-heading { margin-bottom:48px; }
.legal-heading h1 { font-size:48px; line-height:1.12; font-weight:700; letter-spacing:-.035em; text-wrap:balance; overflow-wrap:anywhere; }
.legal-heading > p { margin-top:20px; color:var(--muted); font-size:18px; line-height:1.65; max-width:62ch; }
.legal-updated { display:block; margin-top:20px; color:var(--muted); font-size:13px; line-height:1.6; }
.legal-section + .legal-section { margin-top:40px; }
.legal-section h2 { margin-bottom:14px; font-size:23px; line-height:1.35; font-weight:600; letter-spacing:-.02em; }
.legal-section p, .legal-section li { max-width:70ch; font-size:16px; line-height:1.85; color:var(--muted); overflow-wrap:break-word; }
.legal-section p + p, .legal-section ul { margin-top:14px; }
.legal-section ul { padding-left:22px; }
.legal-section li + li { margin-top:10px; }
.legal-document-end { margin-top:44px; }
.legal-storage-table { border-collapse:separate; border-spacing:0; width:100%; margin-bottom:18px; table-layout:fixed; font-size:14px; line-height:1.7; text-align:left; overflow-wrap:normal; hyphens:auto; }
.legal-storage-table th, .legal-storage-table td { padding:14px 12px; vertical-align:top; background:var(--content-group); }
.legal-storage-table thead th { font-weight:500; color:var(--muted); }
.legal-storage-table tbody th { font-weight:500; }
.legal-storage-table td { color:var(--muted); }
.legal-storage-table code { display:block; margin-top:5px; color:var(--muted); font:inherit; font-size:11px; overflow-wrap:anywhere; hyphens:manual; }
.legal-storage-table thead th:first-child { border-top-left-radius:16px; }
.legal-storage-table thead th:last-child { border-top-right-radius:16px; }
.legal-storage-table tbody tr:last-child th { border-bottom-left-radius:16px; }
.legal-storage-table tbody tr:last-child td:last-child { border-bottom-right-radius:16px; }
.custom-privacy-note { color:var(--muted); font-size:13px; line-height:1.6; }
.custom-privacy-note a { color:var(--accent-ink); text-decoration:underline; text-underline-offset:3px; }
@media(max-width:990px) {
  .legal-layout { grid-template-columns:180px minmax(0,1fr); gap:40px; }
  .legal-heading h1 { font-size:40px; }
  .footer-main .footer-signature { margin-left:0; }
}
@media(max-width:700px) {
  .legal-layout { grid-template-columns:minmax(0,1fr); gap:32px; }
  .legal-sidebar { position:static; }
  .legal-navigation { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
  .legal-navigation a { padding:12px 8px; font-size:14px; overflow-wrap:anywhere; }
  .legal-label-full { display:none; }
  .legal-label-short { display:inline; }
  .legal-heading { margin-bottom:32px; }
  .legal-heading h1 { font-size:30px; }
  .legal-heading > p { font-size:16px; margin-top:16px; }
  .legal-section + .legal-section { margin-top:32px; }
  .legal-section h2 { font-size:21px; }
  .legal-section p, .legal-section li { font-size:15px; line-height:1.8; }
  .legal-document-end .btn { width:100%; }
  .legal-storage-table { font-size:12px; line-height:1.65; }
  .legal-storage-table th, .legal-storage-table td { padding:12px 8px; }
  .legal-storage-table code { font-size:10px; }
  .footer-legal { align-items:flex-start; }
  .footer-main { display:grid; gap:20px; }
  .footer-legal-links { width:100%; gap:4px 20px; }
}
