.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 3px 20px;
  padding-block: 12px 24px;
  border-top: 1px solid var(--line);
}

.rooms-page .site-footer { max-width: 1080px; }

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;
  font-size: 13px;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: var(--accent);
  text-underline-offset: 3px;
}

.site-footer a:hover { color: var(--accent-hover); }

.site-footer-identity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.site-footer-version {
  color: var(--muted);
  font-size: 11px;
}

.site-footer .site-footer-brand {
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.site-footer-brand:hover { text-decoration: underline; }

.site-footer-copyright {
  flex-basis: 100%;
  margin-block-start: 4px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.policy-form-note {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.policy-consent {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  color: var(--ink);
  font-weight: 650;
}

.policy-consent input {
  width: 24px;
  height: 24px;
  flex: none;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.policy-consent a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.policy-consent a:hover { color: var(--accent-hover); }
.policy-consent label { cursor: pointer; }
.policy-consent input[hidden] + span label { display: none; }
.policy-consent input[hidden] + span a:last-of-type { margin-inline-start: 12px; }

.rooms-embed .site-footer { display: none; }

.policy-brand {
  color: var(--ink);
  text-decoration: none;
}

.policy-page main.shell {
  max-width: 780px;
  padding-block: clamp(20px, 4vw, 42px);
}

.policy-page .site-footer { max-width: 780px; }
.policy-page .deletion-shell.site-footer { max-width: 620px; }

.policy-document {
  padding: clamp(17px, 5vw, 44px);
  font-size: 15px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.policy-document h1 {
  font-size: clamp(23px, 5.5vw, 35px);
  line-height: 1.3;
  letter-spacing: -.035em;
}

.policy-draft {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.policy-document section {
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.policy-document h2 {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.5;
}

.policy-document p + p { margin-top: 8px; }

.policy-link-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  text-decoration: none;
}

.policy-contact-method {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-block: 12px;
}

.policy-contact-method #contact-email {
  display: block;
  font-size: 16px;
  user-select: text;
}

.policy-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.policy-contact-actions button { min-height: 44px; }
#contact-copy-status:empty { margin: 0; }

.policy-document ul { margin: 8px 0; padding-inline-start: 1.4em; }
.policy-document li + li { margin-top: 5px; }

.policy-placeholder {
  border-radius: 3px;
  background: #f8edcd;
  color: #5f491d;
}

@media (pointer: coarse) {
  .site-footer a { min-height: 44px; }
}
