* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: #fbf9f7; color: #6c5c55; font-family: "Poppins", sans-serif; }
.legal-page { display: flex; min-height: 100vh; flex-direction: column; }
.legal-container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.legal-header { position: relative; z-index: 10; background: #f5e9df; }
.legal-header__inner { display: flex; min-height: 100px; align-items: center; }
.legal-logo, .legal-logo img { display: block; width: 146px; height: 80px; }
.legal-logo img { object-fit: contain; }
.legal-nav { display: flex; align-items: center; gap: 20px; margin-right: 144px; margin-left: auto; }
.legal-nav a, .legal-cta { color: #332824; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.legal-cta { display: inline-flex; width: 231px; height: 56px; flex: 0 0 231px; align-items: center; justify-content: center; border-radius: 8px; background: #d8a8a2; }
.legal-toggle { display: none; width: 40px; height: 40px; margin-left: auto; padding: 5px; border: 0; background: transparent; cursor: pointer; }
.legal-toggle span { display: block; width: 30px; height: 3px; margin: 5px 0; background: #4a3b35; transition: .2s ease; }
.legal-main { flex: 1; padding: 82px 0 150px; }
.legal-main h1 { margin: 0 0 24px; color: #4a3b35; font-family: "Jost", sans-serif; font-size: 64px; font-weight: 600; line-height: 1.1; text-align: center; }
.legal-content { font-size: 22px; line-height: 1.4; }
.legal-content h2 { margin: 24px 0 14px; color: #6c5c55; font-size: 22px; font-weight: 700; text-align: center; }
.legal-content p { margin: 0 0 22px; }
.legal-footer { position: relative; padding: 10px 0 40px; background: #332824; color: #f3e8dd; }
.legal-footer__wave { position: absolute; right: 0; bottom: calc(100% - 1px); left: 0; height: 70px; }
.legal-footer__wave svg { display: block; width: 100%; height: 100%; }
.legal-footer__wave path { fill: #332824; }
.legal-footer__content { display: grid; grid-template-columns: 146px 1fr; align-items: center; gap: 32px 40px; }
.legal-footer__logo, .legal-footer__logo img { display: block; width: 146px; height: 80px; }
.legal-footer__logo img { object-fit: contain; }
.legal-footer__nav { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.legal-footer__nav a { color: #f3e8dd; font-size: 14px; text-decoration: none; }
.legal-footer__content > p { grid-column: 1 / -1; margin: 0; color: #6c5c55; font-size: 14px; text-align: center; }
@media (max-width: 991px) {
  .legal-header__inner { min-height: 100px; }
  .legal-nav { display: none; position: absolute; top: 100%; right: 0; left: 0; padding: 20px 24px 24px; flex-direction: column; align-items: flex-start; gap: 14px; background: #f5e9df; box-shadow: 0 8px 16px rgba(51,40,36,.12); }
  .legal-nav.is-open { display: flex; }
  .legal-cta { display: none; }
  .legal-toggle { display: block; }
  .legal-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .legal-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .legal-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 767px) {
  .legal-container { width: calc(100% - 32px); }
  .legal-main { padding: 54px 0 130px; }
  .legal-main h1 { font-size: 42px; }
  .legal-content { font-size: 17px; }
  .legal-content h2 { font-size: 20px; }
  .legal-footer { padding-top: 0; }
  .legal-footer__content { grid-template-columns: 1fr; justify-items: start; gap: 28px; }
  .legal-footer__nav { flex-direction: column; align-items: flex-start; gap: 12px; }
  .legal-footer__content > p { grid-column: 1; width: 100%; }
}
