html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

.site-footer {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #101010;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding-right: 88px;
}

.footer-copyright {
  flex-shrink: 0;
  color: #a1a1a1;
  font-size: 0.8125rem;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.footer-links a {
  color: #a1a1a1;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #f1f1f1;
}

.content-page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.page-main {
  flex: 1;
  max-width: 1000px;
  padding-top: 44px;
  padding-bottom: 72px;
}

.page-back,
.page-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e5e5e5;
  font-size: 0.875rem;
}

.page-back:hover,
.page-text-link:hover {
  color: #fff;
}

.page-text-link {
  margin-top: 22px;
  border-bottom: 1px solid #626262;
  padding-bottom: 4px;
}

.page-header {
  margin: 42px 0 32px;
  max-width: 820px;
}

.page-eyebrow,
.policy-updated {
  font-size: 0.8125rem;
  color: #a1a1a1;
}

.page-header h1 {
  margin-top: 14px;
  font-size: clamp(1.7rem, 4.3vw, 2.6rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.page-intro {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.85;
}

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.page-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.page-card h2,
.policy-block h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.6;
}

.page-card p,
.policy-block p {
  margin-top: 12px;
  font-size: 0.9375rem;
  line-height: 1.9;
}

.page-card-wide {
  margin-top: 18px;
}

.page-location {
  margin-top: 30px;
}

.faq-list {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
  color: #e5e5e5;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.375rem;
  color: #a1a1a1;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 36px 22px 0;
  font-size: 0.9375rem;
  line-height: 1.9;
}

.policy-content {
  margin-top: 30px;
}

.policy-block + .policy-block {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-actions {
  position: fixed;
  right: 24px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1100;
}

.floating-button {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid #3a3a3a;
  border-radius: 50%;
  background: #1a1a1a;
  color: #e5e5e5;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.floating-button:hover {
  background: #292929;
}

.back-to-top svg {
  transition: transform 0.2s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

.support-launcher {
  background: #e5e5e5;
  color: #111;
  border-color: #e5e5e5;
}

.support-launcher:hover {
  background: #fff;
}

.floating-button:focus-visible,
.support-panel button:focus-visible,
.support-input:focus-visible {
  outline: 2px solid #c3c3c3;
  outline-offset: 3px;
}

.floating-button[hidden],
.support-panel[hidden] {
  display: none !important;
}

.floating-actions.is-chat-open .back-to-top {
  visibility: hidden;
  pointer-events: none;
}

.support-panel {
  position: fixed;
  right: 24px;
  bottom: calc(var(--support-panel-bottom, 92px) + var(--support-keyboard-inset, 0px) + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  width: 360px;
  height: min(520px, calc(var(--support-visible-height, 100dvh) - var(--support-panel-bottom, 92px) - 20px - env(safe-area-inset-bottom)));
  border: 1px solid #363636;
  border-radius: 14px;
  background: #141414;
  box-shadow: 0 18px 65px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  z-index: 1101;
  color: #e5e5e5;
  transform-origin: bottom right;
}

.support-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 14px;
  border-bottom: 1px solid #2b2b2b;
}

.support-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  background: #202020;
}

.support-heading {
  flex: 1;
  min-width: 0;
}

.support-heading h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
}

.support-heading p {
  margin-top: 3px;
  font-size: 0.6875rem;
  line-height: 1.5;
  color: #a1a1a1;
}

.support-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #bdbdbd;
}

.support-close:hover {
  background: #272727;
  color: #fff;
}

.support-log {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #464646 transparent;
}

.support-message {
  max-width: 92%;
  flex-shrink: 0;
  align-self: flex-start;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #303030;
  border-radius: 10px 10px 10px 3px;
  background: #202020;
  color: #dedede;
  font-size: 0.8125rem;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.support-message.is-user {
  align-self: flex-end;
  border-color: #dedede;
  border-radius: 10px 10px 3px 10px;
  background: #dedede;
  color: #121212;
}

.support-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex-shrink: 0;
  padding: 0 14px 12px;
}

.support-topic {
  padding: 6px 9px;
  border: 1px solid #3c3c3c;
  border-radius: 20px;
  background: transparent;
  color: #bdbdbd;
  font-size: 0.6875rem;
  line-height: 1.5;
}

.support-topic:hover {
  border-color: #777;
  color: #f1f1f1;
}

.support-composer {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  margin: 0;
  padding: 0 14px;
}

.support-input {
  width: 0;
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 10px 12px;
  border: 1px solid #3c3c3c;
  border-radius: 8px;
  background: #1b1b1b;
  color: #f1f1f1;
  font-family: 'Manrope', sans-serif;
  font-size: 0.8125rem;
}

.support-input::placeholder {
  color: #888;
}

.support-send {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #dedede;
  color: #121212;
}

.support-send:hover {
  background: #fff;
}

.support-note {
  flex-shrink: 0;
  padding: 8px 14px 12px;
  font-size: 0.625rem;
  line-height: 1.5;
  color: #999;
}

.support-panel--short .support-quick-replies,
.support-panel--short .support-note {
  display: none;
}

@media (max-width: 575.98px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-right: 78px;
    gap: 10px;
  }

  .footer-links {
    gap: 8px 16px;
  }

  .page-main {
    padding-top: 28px;
    padding-bottom: 48px;
  }

  .page-header {
    margin-top: 32px;
  }

  .page-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-card {
    padding: 22px;
  }

  .floating-actions {
    right: 12px;
    bottom: calc(16px + env(safe-area-inset-bottom));
  }

  .support-panel {
    right: 12px;
    width: calc(100% - 24px);
    max-width: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; }
.form-status { overflow-wrap: anywhere; margin-top: 16px; font-size: .9rem; }
.form-status.is-success { color: #a3e6ae; }
.form-status.is-error { color: #ffaaaa; }
.form-notice { margin-top: 16px; font-size: .85rem; color: #b6bcc9; }
.deletion-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 32px; }
.request-form, .published-card { padding: 28px; background: #171923; border: 1px solid #343745; border-radius: 18px; }
.request-form label { display: grid; gap: 8px; margin-bottom: 20px; }
.request-form input:not([type=checkbox]), .request-form textarea { width: 100%; color: #f4f5fa; background: #0e1018; border: 1px solid #4a4d5c; border-radius: 8px; padding: 12px; }
.request-form input:focus, .request-form textarea:focus { outline: 2px solid #a5efbf; outline-offset: 2px; }
.request-form .checkbox-label { display: flex; align-items: start; gap: 12px; font-size: .9rem; }
.checkbox-label input { margin-top: 5px; }
.published-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.published-card h3 { margin: 12px 0; font-size: 1.4rem; overflow-wrap: anywhere; }
.published-card p { color: #c3c8d3; overflow-wrap: anywhere; }
.preserve-lines { white-space: pre-wrap; }
button:disabled { opacity: .55; cursor: wait; }
@media (max-width: 800px) { .deletion-layout, .published-grid { grid-template-columns: 1fr; } .request-form { padding: 20px; } }

.policy-app-brand { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.policy-app-logo { display: block; width: 96px; height: 96px; flex-shrink: 0; border-radius: 20px; object-fit: contain; }
.policy-app-name { margin-top: 4px; color: #f1f1f1; font-family: 'Manrope', sans-serif; font-size: 1.8rem; font-weight: 700; }
@media (max-width: 575.98px) { .policy-app-logo { width: 80px; height: 80px; border-radius: 16px; } .policy-app-brand { gap: 16px; } }
