/* BagrBot: shared responsive presentation for all six information/legal pages.
   Scoped to .legal-site so company themes, workspace and homepage are unchanged. */
.legal-site, .legal-site main { min-width: 0; width: 100%; }
.legal-site main { display: flow-root; }
.legal-site .legal-page {
  box-sizing: border-box;
  width: min(100%, 860px);
  max-width: 860px;
  min-width: 0;
  margin: 30px auto 34px !important;
  padding-inline: clamp(20px, 4vw, 48px);
  color: #243f33;
  line-height: 1.72;
  overflow-wrap: break-word;
}
.legal-site .legal-page > .back-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  text-underline-offset: 3px;
}
.legal-site .legal-page > .eyebrow {
  display: block;
  margin: 8px 0 10px;
  line-height: 1.65;
  font-size: 11px;
  letter-spacing: 1.25px;
  overflow-wrap: anywhere;
}
.legal-site .legal-page h1 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -.032em;
  line-height: 1.18;
  max-width: 100%;
  margin: 0 0 20px;
  overflow-wrap: break-word;
}
.legal-site .legal-page h2 {
  margin: 0 0 12px;
  font-size: clamp(19px, 2vw, 23px);
  letter-spacing: -.015em;
  line-height: 1.35;
  overflow-wrap: break-word;
}
.legal-site .legal-page p,
.legal-site .legal-page .legal-contact {
  font-size: 15px;
  line-height: 1.78;
  overflow-wrap: anywhere;
}
.legal-site .legal-page p { color: #596e60; }
.legal-site .legal-page > section {
  margin: 0;
  padding: 23px 0;
  border-bottom: 1px solid #e3e9df;
}
.legal-site .legal-page > section:last-of-type { border-bottom: 0; }
.legal-site .legal-page .legal-contact {
  background: #eff5ed;
  border: 1px solid #dfe9dc;
  border-radius: 14px;
  padding: 16px 20px;
  margin: 6px 0 11px;
  color: #355340;
}
.legal-site .legal-page .legal-contact strong { font-size: 16px; }
.legal-site .legal-page a { overflow-wrap: anywhere; }
.legal-site .legal-page .legal-related {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 10px;
  line-height: 1.6;
  margin: 22px 0 0;
}
.legal-site .legal-page .legal-related a { margin-right: 0; min-height: 28px; display: inline-flex; align-items:center; }
.legal-site .legal-page > .button,
.legal-site .legal-page > p > .button,
.legal-site .legal-page > button.button {
  white-space: normal;
  text-align: center;
  max-width: 100%;
}
/* The withdrawal page contains a second legal block with an interactive form. */
.legal-site .legal-page.withdrawal-form {
  margin-top: 0 !important;
  margin-bottom: 30px !important;
  padding-top: 24px;
  border-top: 1px solid #dfe6d9;
}
.legal-site .withdrawal-form .withdrawal-request {
  width: min(100%, 600px);
  max-width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 21px 0 0;
}
.legal-site .withdrawal-form .field,
.legal-site .withdrawal-form .field input { min-width: 0; width: 100%; max-width: 100%; }
.legal-site .withdrawal-form .field { gap: 7px; margin: 0; }
.legal-site .withdrawal-form .field > span { font-size: 14px; line-height: 1.4; }
.legal-site .withdrawal-form .field input {
  min-height: 46px;
  padding: 10px 13px;
  font-size: 16px; /* iOS prevents zoom on input focus */
  border-radius: 11px;
}
.legal-site .withdrawal-form .withdrawal-request > p { margin: 0; }
.legal-site .withdrawal-form .withdrawal-request > .button {
  width: fit-content;
  max-width: 100%;
  min-height: 46px;
  padding: 12px 21px;
  white-space: normal;
  text-align: center;
  font-size: 14px;
}
.legal-site .site-footer {
  max-width: 1100px;
  padding: 24px clamp(18px, 4vw, 40px) 32px;
  margin-top: 0;
  gap: 12px;
}
.legal-site .site-footer nav {
  max-width: 100%;
  row-gap: 10px;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .legal-site .legal-page {
    margin: 18px auto 25px !important;
    padding-inline: clamp(16px, 4.5vw, 26px);
  }
  .legal-site .legal-page > section { padding: 20px 0; }
  .legal-site .legal-page h1 { font-size: clamp(28px, 6vw, 36px); }
  .legal-site .legal-page h2 { font-size: 19px; }
  .legal-site .legal-page .legal-contact { padding: 14px 16px; }
  .legal-site .legal-page.withdrawal-form { padding-top: 22px; }
  .legal-site .withdrawal-form .withdrawal-request { margin-top: 18px; }
}
@media (max-width: 480px) {
  .legal-site .legal-page { margin: 14px auto 18px !important; padding-inline: 18px; }
  .legal-site .legal-page > .back-link { margin-bottom: 11px; }
  .legal-site .legal-page > .eyebrow { font-size: 10px; }
  .legal-site .legal-page h1 { font-size: clamp(27px, 7.5vw, 33px); margin-bottom: 16px; }
  .legal-site .legal-page h2 { font-size: 18px; margin-bottom: 9px; }
  .legal-site .legal-page p, .legal-site .legal-page .legal-contact { font-size: 14px; line-height: 1.74; }
  .legal-site .legal-page > section { padding: 19px 0; }
  .legal-site .legal-page .legal-contact { margin-top: 7px; border-radius: 12px; }
  .legal-site .legal-page .legal-related { gap: 9px 12px; }
  .legal-site .legal-page.withdrawal-form { padding-top: 20px; }
  .legal-site .withdrawal-form .withdrawal-request > .button { width: 100%; justify-self:stretch; }
  .legal-site .site-footer { padding-inline: 18px; }
  .legal-site .site-footer nav { justify-content:center; gap: 10px 14px; }
  .legal-site .site-footer nav a { font-size: 12px; line-height: 1.45; }
}
@media (max-width: 350px) {
  .legal-site .legal-page { padding-inline: 15px; }
  .legal-site .legal-page .legal-contact { padding: 12px; }
  .legal-site .legal-page h1 { font-size: 26px; }
}
