.analytics-consent {
  position: fixed;
  z-index: 220;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  width: min(720px, calc(100vw - 36px));
  border: 1px solid rgba(219, 227, 232, 0.24);
  padding: 15px;
  background:
    linear-gradient(115deg, rgba(22, 25, 27, 0.98), rgba(8, 10, 11, 0.98));
  color: #e8edef;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.48);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 240ms ease,
    transform 240ms ease;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.analytics-consent.is-visible {
  opacity: 1;
  transform: none;
}

.analytics-consent-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(219, 227, 232, 0.14);
  background: rgba(255, 255, 255, 0.025);
}

.analytics-consent-mark img {
  width: 30px;
  height: 25px;
  object-fit: contain;
  filter: brightness(1.45) contrast(0.9);
}

.analytics-consent-copy {
  min-width: 0;
}

.analytics-consent-copy > span {
  display: block;
  margin-bottom: 5px;
  color: #747d82;
  font: 7px/1.2 "Nimbus Mono", monospace;
  letter-spacing: 0.12em;
}

.analytics-consent-copy p {
  margin: 0;
  color: #aeb5b9;
  font: 11px/1.45 "Nimbus Sans", Arial, sans-serif;
}

.analytics-consent-copy a {
  color: #d8dfe3;
  text-underline-offset: 3px;
}

.analytics-consent-actions {
  display: flex;
  gap: 7px;
}

.analytics-consent-actions button {
  min-height: 38px;
  border: 1px solid rgba(219, 227, 232, 0.19);
  padding: 0 12px;
  background: transparent;
  color: #aeb5b9;
  font: 10px "Nimbus Sans", Arial, sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.analytics-consent-actions button:last-child {
  border-color: #bfc8cd;
  background: linear-gradient(110deg, #e3e8eb, #aab4ba);
  color: #07090a;
  font-weight: 700;
}

.analytics-consent-actions button:hover,
.analytics-consent-actions button.is-current {
  border-color: #d5dde1;
  color: #edf1f3;
}

.analytics-consent-actions button:last-child:hover,
.analytics-consent-actions button:last-child.is-current {
  color: #07090a;
  filter: brightness(1.1);
}

.footer-data-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.footer-data-links a,
.footer-data-links button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.footer-data-links a:hover,
.footer-data-links button:hover {
  color: #d7dfe3;
}

.privacy-page {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 80% -10%, rgba(170, 181, 188, 0.11), transparent 32rem),
    #050607;
  color: #edf1f3;
}

.privacy-shell {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 90px;
  background: transparent;
}

.privacy-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid rgba(220, 228, 233, 0.14);
  padding-bottom: 24px;
}

.privacy-brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.privacy-brand img {
  width: 42px;
  height: 34px;
  object-fit: contain;
  filter: brightness(1.45);
}

.privacy-brand strong {
  display: block;
  font-size: 16px;
}

.privacy-brand span,
.privacy-back {
  color: #747d82;
  font: 8px "Nimbus Mono", monospace;
  letter-spacing: 0.11em;
}

.privacy-back {
  text-decoration: none;
}

.privacy-hero {
  padding: clamp(55px, 10vw, 115px) 0 58px;
}

.privacy-hero > span,
.privacy-section > span {
  color: #626a6f;
  font: 8px "Nimbus Mono", monospace;
  letter-spacing: 0.13em;
}

.privacy-hero h1 {
  max-width: 760px;
  margin: 15px 0 22px;
  font: 700 clamp(48px, 9vw, 94px)/0.87 "Nimbus Sans", Arial, sans-serif;
  letter-spacing: -0.065em;
}

.privacy-hero h1 span {
  color: #7b858b;
}

.privacy-hero p {
  max-width: 610px;
  margin: 0;
  color: #939ca1;
  font: 15px/1.65 "Nimbus Sans", Arial, sans-serif;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(220, 228, 233, 0.14);
  border-left: 1px solid rgba(220, 228, 233, 0.14);
}

.privacy-section {
  min-height: 240px;
  border-right: 1px solid rgba(220, 228, 233, 0.14);
  border-bottom: 1px solid rgba(220, 228, 233, 0.14);
  padding: clamp(22px, 4vw, 38px);
  background: rgba(12, 14, 16, 0.76);
}

.privacy-section h2 {
  margin: 14px 0 15px;
  font: 700 23px/1.05 "Nimbus Sans", Arial, sans-serif;
  letter-spacing: -0.035em;
}

.privacy-section p,
.privacy-section li {
  color: #929ba0;
  font: 13px/1.65 "Nimbus Sans", Arial, sans-serif;
}

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

.privacy-controls {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  margin-top: 22px;
  border: 1px solid rgba(220, 228, 233, 0.14);
  padding: 22px;
  background: rgba(12, 14, 16, 0.76);
}

.privacy-controls p {
  margin: 0;
  color: #929ba0;
  font: 12px/1.5 "Nimbus Sans", Arial, sans-serif;
}

.privacy-controls button {
  min-height: 42px;
  border: 1px solid #bfc8cd;
  padding: 0 15px;
  background: linear-gradient(110deg, #e3e8eb, #aab4ba);
  color: #07090a;
  font: 700 11px "Nimbus Sans", Arial, sans-serif;
  white-space: nowrap;
  cursor: pointer;
}

@media (max-width: 760px) {
  .analytics-consent {
    grid-template-columns: auto 1fr;
  }

  .analytics-consent-actions {
    grid-column: 1 / -1;
  }

  .analytics-consent-actions button {
    flex: 1;
  }

  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .privacy-controls {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .analytics-consent {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    padding: 12px;
  }

  .analytics-consent-mark {
    width: 38px;
    height: 38px;
  }

  .analytics-consent-actions {
    flex-direction: column-reverse;
  }

  .analytics-consent-actions button {
    width: 100%;
  }

  .privacy-header {
    align-items: flex-start;
  }

  .privacy-back {
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .analytics-consent {
    transition: none;
  }
}
