.analytics-consent {
  position: fixed;
  z-index: 10000;
  inset: auto 0 0;
  max-height: calc(100dvh - 12px);
  overflow-y: auto;
  background: #eeedeb;
  color: #181917;
  border-top: 1px solid #181917;
  box-shadow: 0 -12px 38px #0002;
  font-family: Haas, HelveticaCyr, Arial, sans-serif;
  animation: analytics-arrive .42s cubic-bezier(.22, 1, .36, 1) both;
}
.analytics-consent-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  max-width: 1580px;
  margin: 0 auto;
  padding: 24px clamp(24px, 3vw, 50px) max(25px, env(safe-area-inset-bottom));
}
.analytics-consent-copy { max-width: 720px; }
.analytics-consent-eyebrow {
  display: block;
  margin-bottom: 13px;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.analytics-consent h2 {
  margin: 0 0 8px;
  font-family: HelveticaCyr, Haas, Arial, sans-serif;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
}
.analytics-consent-mobile-title,
.analytics-consent-mobile-description,
.analytics-consent-mobile-line,
.analytics-consent-mobile-accept { display: none; }
.analytics-consent .analytics-consent-mobile-policy { display: none; }
.analytics-consent p {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}
.analytics-consent a {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.analytics-consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  padding-bottom: 2px;
}
.analytics-consent button {
  min-height: 44px;
  padding: 11px 19px;
  border: 1px solid #181917;
  border-radius: 999px;
  background: transparent;
  color: #181917;
  font: inherit;
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}
.analytics-consent button:last-child { background: #181917; color: #eeedeb; }
.analytics-consent button:hover { transform: translateY(-2px); background: #181917; color: #eeedeb; }
.analytics-consent button:last-child:hover { background: #454640; }
.analytics-consent button:focus-visible,
.analytics-consent a:focus-visible { outline: 2px solid #bb7e46; outline-offset: 3px; }
@keyframes analytics-arrive {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}
.privacy-page { max-width: 850px; margin: 0 auto; padding: 90px 24px 120px; line-height: 1.55; }
.privacy-page h1 { font-size: clamp(44px, 8vw, 92px); line-height: 1; letter-spacing: -.05em; }
.privacy-page h2 { margin-top: 48px; font-size: 25px; }
.privacy-page a { text-decoration: underline; text-underline-offset: 3px; }
.privacy-page button { border: 1px solid currentColor; background: transparent; padding: 12px 18px; border-radius: 100px; }
@media (max-width: 760px) {
  .analytics-consent {
    background: #f4f4f4;
    border-top: 0;
    box-shadow: none;
  }
  .analytics-consent-inner {
    display: block;
    position: relative;
    padding: 24px 24px max(28px, env(safe-area-inset-bottom));
  }
  .analytics-consent-eyebrow,
  .analytics-consent-desktop-title,
  .analytics-consent-desktop-description,
  .analytics-consent-desktop-accept { display: none; }
  .analytics-consent .analytics-consent-desktop-policy { display: none; }
  .analytics-consent-mobile-description,
  .analytics-consent-mobile-line { display: block; }
  .analytics-consent-mobile-line { white-space: nowrap; }
  .analytics-consent-mobile-accept { display: inline; }
  .analytics-consent .analytics-consent-mobile-title {
    display: block;
    margin: 0 48px 16px 0;
    font-family: Haas, HelveticaCyr, Arial, sans-serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.025em;
    text-transform: none;
  }
  .analytics-consent p {
    max-width: 520px;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -.02em;
  }
  .analytics-consent .analytics-consent-mobile-policy {
    display: inline;
    margin: 0 0 0 .25em;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    white-space: nowrap;
  }
  .analytics-consent-actions { display: block; margin-top: 44px; padding: 0; }
  .analytics-consent-actions button:first-child {
    position: absolute;
    top: 15px;
    right: 16px;
    width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: transparent;
    font-size: 0;
    overflow: hidden;
  }
  .analytics-consent-actions button:first-child::before,
  .analytics-consent-actions button:first-child::after {
    content: '';
    position: absolute;
    top: 21px;
    left: 14px;
    width: 16px;
    height: 1.5px;
    background: #181917;
    transform: rotate(45deg);
  }
  .analytics-consent-actions button:first-child::after { transform: rotate(-45deg); }
  .analytics-consent-actions button:first-child:hover { background: transparent; }
  .analytics-consent-actions button:last-child {
    min-height: 48px;
    padding: 11px 25px;
    border: 0;
    background: #d4d4d4;
    color: #181917;
    font-size: 18px;
    line-height: 1;
  }
  .analytics-consent-actions button:last-child:hover { background: #bdbdbd; color: #181917; }
  .privacy-page { padding: 50px 20px 90px; }
}
@media (max-width: 359px) {
  .analytics-consent p { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .analytics-consent { animation: none; }
  .analytics-consent button { transition: none; }
}
