/* Standalone policies share the storefront's paper, type and olive accents. */
.legal-page {
  margin: 0;
  min-height: 100vh;
  background: #fbfaf7;
  color: #252822;
  font: 400 15px/1.85 Manrope, Arial, sans-serif;
}
.legal-page *, .legal-page *::before, .legal-page *::after { box-sizing: border-box; }
.legal-page a { color: #384b3c; text-underline-offset: 4px; }
.legal-page > header {
  padding: 22px max(24px, calc((100vw - 1040px) / 2));
  background: #efede5;
  border-bottom: 1px solid #deded4;
}
.legal-page > header a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.legal-page main {
  width: min(860px, calc(100% - 48px));
  margin: 40px auto;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid #deded4;
  border-radius: 12px;
  background: #fff;
}
.legal-page main > a:has(> img) { display: inline-flex; min-height: 44px; margin-bottom: 24px; }
.legal-page main > a > img { display: block; width: 185px; max-width: 100%; height: auto; object-fit: contain; filter: brightness(0); }
.legal-page h1 {
  margin: 0 0 30px;
  color: #252822;
  font: 400 clamp(30px, 4.5vw, 42px)/1.3 "Noto Serif", Georgia, serif;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.legal-page h2 {
  margin: 34px 0 12px;
  color: #384b3c;
  font: 650 18px/1.5 Manrope, Arial, sans-serif;
  overflow-wrap: anywhere;
}
.legal-page p { margin: 12px 0; color: #55594f; overflow-wrap: anywhere; }
.legal-privacy p { white-space: pre-wrap; }
.legal-terms p { white-space: normal; }
.legal-page main > section { margin-top: 30px; padding-top: 4px; border-top: 1px solid #deded4; }
.legal-page main > a:last-of-type:not(:has(> img)) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 650;
}
.legal-page > footer { width: min(860px, calc(100% - 48px)); margin: 0 auto 40px; padding: 0 8px; color: #62685d; font-size: 12px; }
.legal-page :focus-visible { outline: 2px solid #384b3c; outline-offset: 4px; border-radius: 3px; }
@media (max-width: 650px) {
  .legal-page { font-size: 14px; line-height: 1.8; }
  .legal-page > header { padding: 12px 20px; }
  .legal-page main { width: calc(100% - 24px); margin: 24px auto; padding: 27px 22px; }
  .legal-page h1 { margin-bottom: 24px; font-size: 30px; }
  .legal-page h2 { margin-top: 28px; font-size: 17px; }
  .legal-page main > a > img { width: 165px; }
  .legal-page > footer { width: calc(100% - 40px); margin-bottom: 28px; }
}
@media print {
  .legal-page { min-height: auto; background: #fff; color: #111; font-size: 11px; }
  .legal-page > header, .legal-page > footer { display: none; }
  .legal-page main { width: 100%; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; }
  .legal-page :is(h1, h2, p, a) { color: #111; }
  .legal-page h1 { font-size: 28px; }
  .legal-page h2 { break-after: avoid; }
}
