.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 14px;
  flex-wrap: wrap;
}

.footer-analytics-button {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.footer-analytics-button:hover,
.footer-analytics-button:focus-visible {
  opacity: .65;
}

.analytics-consent[hidden] {
  display: none;
}

.analytics-consent {
  position: fixed;
  z-index: 200;
  left: 20px;
  bottom: 20px;
  width: min(460px, calc(100% - 40px));
  padding: 18px;
  border: 1px solid rgba(247, 244, 238, .18);
  background: rgba(17, 17, 15, .97);
  color: #f7f4ee;
  box-shadow: 0 14px 50px rgba(0, 0, 0, .18);
  font-family: "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, sans-serif;
  font-size: 11px;
  line-height: 1.75;
  letter-spacing: .012em;
}

.analytics-consent p {
  margin: 0;
}

.analytics-consent__title {
  margin-bottom: 6px !important;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.analytics-consent a {
  color: inherit;
  border-bottom: 1px solid currentColor;
}

.analytics-consent__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.analytics-consent button {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(247, 244, 238, .42);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.analytics-consent__accept {
  background: #f7f4ee !important;
  color: #11110f !important;
}

.analytics-consent button:hover,
.analytics-consent button:focus-visible {
  border-color: #f7f4ee;
}

.privacy-page .page-title {
  min-height: 32vh;
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(100px, 160px) minmax(0, 680px);
  gap: clamp(36px, 8vw, 130px);
  padding: clamp(48px, 7vw, 88px) 0;
  border-bottom: 1px solid var(--line);
}

.privacy-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.privacy-section h3 {
  margin: 30px 0 10px;
  font-size: 12px;
  font-weight: 500;
}

.privacy-section p,
.privacy-section li {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.privacy-section p {
  margin: 0 0 16px;
}

.privacy-section ul {
  margin: 0 0 18px;
  padding-left: 1.4em;
}

.privacy-section a {
  border-bottom: 1px solid currentColor;
}

.privacy-settings-button {
  appearance: none;
  margin: 8px 0 0;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.privacy-updated {
  margin-top: 36px !important;
  color: var(--faint) !important;
  font-size: 10px !important;
}

@media (max-width: 720px) {
  .footer-links {
    justify-content: flex-start;
  }

  .analytics-consent {
    left: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 16px;
  }

  .analytics-consent__actions {
    justify-content: stretch;
  }

  .analytics-consent button {
    flex: 1;
  }

  .privacy-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .analytics-consent,
  .analytics-consent * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
