.site-footer {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  width: calc(100% - 32px);
  max-width: 1216px;
  margin: 24px auto 0;
  padding: 20px 0 28px;
  border-top: 1px solid #222927;
  color: #a9adab;
  font-size: 12px;
  line-height: 1.6;
}
.site-footer-brand { font-size: 10px; letter-spacing: .16em; }
.site-footer a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
.site-footer a:hover { color: #d1fafa; text-decoration: underline; }
.site-footer a:focus-visible, .legal-page a:focus-visible { outline: 2px solid #91f3fa; outline-offset: 5px; border-radius: 2px; }
.legal-page { margin: 0; background: #020707; color: #c4c4c4; font-family: system-ui, sans-serif; line-height: 1.8; }
.legal-page * { box-sizing: border-box; }
.legal-header { max-width: 960px; margin: auto; padding: 28px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #222927; font-size: 12px; }
.legal-header a { color: #d1fafa; text-decoration: none; }
.legal-header a:first-child { letter-spacing: .12em; font-weight: 600; }
.legal-content { max-width: 816px; padding: 56px 24px; margin: auto; }
.privacy-content { display: flex; flex-direction: column; gap: 40px; }
.privacy-section { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.privacy-title { color: #f5f7f6; font-size: clamp(32px, 6vw, 48px); line-height: 1.2; letter-spacing: -.035em; margin: 0 0 16px; }
.privacy-meta-text { color: #a9adab; font-size: 12px; }
.privacy-section-title { color: #d1fafa; font-size: 21px; line-height: 1.4; margin: 0; font-weight: 600; }
.privacy-subtitle { color: #f5f7f6; font-size: 16px; margin: 8px 0 0; }
.privacy-text, .privacy-list { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.privacy-list { padding-left: 22px; }
.privacy-list-item + .privacy-list-item { margin-top: 10px; }
.privacy-list-item::marker { color: #616966; }
.legal-content a { color: #d1fafa; text-underline-offset: 3px; }
.legal-content a:hover { color: #91f3fa; }
.legal-page .site-footer { max-width: 912px; }
@media (max-width: 480px) {
  .legal-content { padding: 36px 20px; }
  .legal-header { padding: 20px; }
  .privacy-content { gap: 32px; }
}

.site-footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cookie-settings { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-underline-offset: 4px; }
.cookie-settings:hover { color: #d1fafa; text-decoration: underline; }
.cookie-settings:focus-visible, .cookie-banner :focus-visible { outline: 2px solid #91f3fa; outline-offset: 4px; }
.cookie-banner[hidden], .cookie-settings[hidden], .cookie-error[hidden] { display: none; }
.cookie-banner {
  position: fixed; z-index: 1000; bottom: max(16px, env(safe-area-inset-bottom)); left: 16px; right: 16px;
  box-sizing: border-box; max-width: 960px; margin: auto; padding: 20px 24px;
  display: flex; align-items: center; gap: 24px;
  border: 1px solid #343c39; border-radius: 12px; background: #161a19; color: #c4c4c4;
  box-shadow: 0 8px 32px #0006; font-family: system-ui, sans-serif;
  max-height: calc(100dvh - 32px); overflow: auto;
}
.cookie-banner h2 { margin: 0 0 6px; color: #f5f7f6; font-size: 15px; font-weight: 600; line-height: 1.4; }
.cookie-banner p { margin: 0 0 6px; font-size: 13px; line-height: 1.6; }
.cookie-banner a { color: #d1fafa; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner-actions { display: flex; flex-shrink: 0; gap: 10px; }
.cookie-banner-actions button { min-width: 90px; min-height: 44px; padding: 10px 16px; border: 1px solid #616966; border-radius: 6px; background: #222927; color: #f5f7f6; font: inherit; font-size: 13px; cursor: pointer; }
.cookie-banner-actions button:hover { background: #343c39; border-color: #a9adab; }
@media (max-width: 640px) {
  .cookie-banner { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; }
  .cookie-banner-actions button { flex: 1; }
}
