[hidden] { display: none !important; }

.footer-links { flex-wrap: wrap; justify-content: center; }
.footer-privacy-button {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
}
.footer-links a:hover, .footer-privacy-button:hover { text-decoration: underline; }
.footer-links .footer-privacy-button {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}
.contact-card .contact-privacy-note {
  max-width: none;
  margin: 0;
  color: #b7c5d7;
  font-size: 0.8rem;
  line-height: 1.65;
  text-align: left;
}
.contact-privacy-note a { text-decoration: underline; text-underline-offset: 3px; }

.consent-banner {
  position: fixed;
  z-index: 110;
  right: 20px;
  bottom: 20px;
  left: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 12px 50px rgba(13, 24, 44, 0.18);
  max-height: calc(100dvh - 40px);
  overflow: auto;
}
.consent-copy { max-width: 680px; }
.consent-copy h2 { margin: 0 0 6px; font-size: 1rem; letter-spacing: 0; }
.consent-copy p, .consent-dialog p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}
.consent-copy a, .consent-dialog a, .privacy-content a {
  color: var(--cobalt);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.consent-button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #c9d5e4;
  border-radius: 8px;
  background: #f4f7fb;
  color: var(--cobalt);
  font-weight: 650;
  font-size: 0.85rem;
}
.consent-button:hover { background: #e7eff9; border-color: var(--cobalt); }
.consent-button:focus-visible, .footer-privacy-button:focus-visible,
.consent-option input:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 4px;
}
.consent-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.consent-dialog::backdrop { background: rgba(8, 18, 35, 0.5); }
.consent-dialog h2 { margin: 0 0 10px; font-size: 1.5rem; letter-spacing: -0.03em; }
.consent-option {
  margin-top: 20px;
  padding-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border-top: 1px solid var(--line);
}
.consent-option > div { flex: 1; }
.consent-option strong { display: block; margin-bottom: 5px; font-size: 0.95rem; }
.consent-option input {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--cobalt);
}
.consent-option:has(input:disabled) { opacity: 0.7; }
.consent-essential { color: var(--muted); font-size: 0.78rem; white-space: nowrap; }
.consent-dialog .consent-details { margin: 22px 0; }

.privacy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.privacy-header img { width: 160px; }
.privacy-header a:last-child { color: var(--cobalt); font-size: 0.9rem; }
.privacy-shell { width: min(860px, calc(100% - 48px)); margin: 0 auto; }
.privacy-content { padding: 60px 0 72px; }
.privacy-content h1 { margin: 0 0 14px; font-size: clamp(2.3rem, 6vw, 3.5rem); letter-spacing: -0.05em; line-height: 1.12; }
.privacy-content .privacy-updated { margin-bottom: 32px; font-size: 0.85rem; }
.privacy-content h2 { margin: 36px 0 12px; font-size: 1.35rem; letter-spacing: -0.02em; }
.privacy-content p, .privacy-content li { color: var(--muted); line-height: 1.8; }
.privacy-content strong { color: var(--ink); }
.privacy-content li { margin: 8px 0; }
.privacy-summary { padding: 22px 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.privacy-summary p { margin: 0; }
.privacy-table-wrap { overflow-x: auto; }
.privacy-table { width: 100%; margin: 20px 0; border-collapse: collapse; font-size: 0.86rem; }
.privacy-table th, .privacy-table td { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.privacy-table th { background: var(--soft); }
.privacy-table td { color: var(--muted); }
.privacy-footer { padding: 26px 0 40px; border-top: 1px solid var(--line); }

@media (max-width: 1000px) {
  .consent-banner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-footer .footer-inner { flex-wrap: wrap; }
  .site-footer .footer-links { flex: 1 0 100%; }
}
@media (max-width: 600px) {
  .consent-banner { right: 12px; bottom: 12px; left: 12px; padding: 18px; max-height: calc(100dvh - 24px); }
  .consent-banner .consent-actions { width: 100%; }
  .consent-banner .consent-button { flex: 1; padding: 10px; }
  .consent-dialog { padding: 24px 20px; }
  .privacy-shell { width: calc(100% - 36px); }
  .privacy-content { padding-top: 40px; }
}
