/* Legal navigation and consent use the site's graphite and sage palette. */
.footer-bottom { flex-wrap: wrap; gap: 16px 28px; }
.footer-legal { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.footer-legal a, .footer-legal button { padding: 8px 0; color: #d5dfdb; font-size: 13px; line-height: 1.5; }
.footer-legal button { appearance: none; background: none; border: 0; text-align: left; text-decoration: underline; text-underline-offset: 4px; }
.footer-legal :is(a, button):hover { color: #fff; }
.footer-bottom .back-top { white-space: nowrap; }
.cookie-banner { position: fixed; z-index: 300; left: 24px; bottom: 24px; width: min(730px, calc(100% - 112px)); max-height: calc(100dvh - 48px); overflow-y: auto; padding: 28px; border: 1px solid #8fa6a066; border-radius: 20px; background: #232426; color: #f7f7f7; box-shadow: 0 16px 65px #0005; }
.cookie-kicker { display: block; margin-bottom: 9px; color: #b8cdc6; font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.cookie-banner h2 { margin: 0 0 12px; font-size: clamp(25px, 3vw, 32px); letter-spacing: -.035em; line-height: 1.15; }
.cookie-banner p { margin: 0; color: #d5dfdb; font-size: 15px; line-height: 1.65; }
.cookie-banner p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cookie-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 18px; border: 1px solid #b8cdc6; border-radius: 100px; background: #b8cdc6; color: #19221f; font-size: 14px; font-weight: 650; line-height: 1.4; text-align: center; }
.cookie-button:hover { background: #d6e2dd; border-color: #d6e2dd; }
.cookie-button-outline { background: transparent; color: #f7f7f7; }
.cookie-button-outline:hover { background: #ffffff12; border-color: #fff; }
.cookie-banner .cookie-actions > button { flex: 1 1 150px; }
.cookie-dialog { position: fixed; inset: 0; width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; margin: auto; padding: 30px; border: 1px solid #bacbc2; border-radius: 22px; background: #f7f9f7; color: #232426; box-shadow: 0 24px 90px #0005; }
.cookie-dialog::backdrop { background: #101615b8; }
.cookie-dialog-header { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.cookie-dialog .cookie-kicker { color: #496652; }
.cookie-dialog h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.1; letter-spacing: -.045em; }
.cookie-close { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; padding: 0; border: 1px solid #b8c9c0; border-radius: 50%; background: transparent; color: #232426; font-size: 28px; line-height: 1; }
.cookie-close:hover { background: #e1e9e3; }
.cookie-dialog p { font-size: 15px; line-height: 1.65; color: #4c6054; }
.cookie-dialog a { color: #314d3b; text-decoration: underline; text-underline-offset: 3px; }
.cookie-category { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 22px; margin: 22px 0 0; padding: 20px 0; border-top: 1px solid #cdd9d0; }
.cookie-category strong { display: block; margin-bottom: 6px; color: #232426; font-size: 16px; }
.cookie-category small { display: block; color: #53685b; font-size: 14px; line-height: 1.6; }
.cookie-switch { position: relative; align-self: start; display: block; width: 48px; height: 28px; margin-top: 3px; }
.cookie-switch input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.cookie-switch span { display: block; width: 48px; height: 28px; border: 1px solid #9aaa9e; border-radius: 100px; background: #d5dfd7; pointer-events: none; }
.cookie-switch span::before { content: ''; display: block; width: 20px; height: 20px; margin: 3px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px #0003; }
.cookie-switch input:checked + span { background: #496652; border-color: #496652; }
.cookie-switch input:checked + span::before { transform: translateX(20px); }
.cookie-switch input:focus-visible + span { outline: 3px solid #496652; outline-offset: 4px; }
.cookie-switch input:disabled { cursor: default; }
.cookie-always { display: block; margin-top: 5px; color: #496652; font-size: 11px; white-space: nowrap; text-align: right; }
.cookie-dialog .cookie-actions > button { flex: 1 1 170px; }
.cookie-dialog .cookie-button-outline { color: #314d3b; border-color: #8fa69a; }
.cookie-dialog .cookie-button-outline:hover { background: #e2eae4; }
.cookie-current { padding: 12px 15px; border-radius: 10px; background: #e8eeea; }
.cookie-fine { margin-top: 18px !important; font-size: 13px !important; }
.cookie-notice { position: fixed; z-index: 301; left: 24px; bottom: 24px; width: min(510px, calc(100% - 112px)); margin: 0; padding: 15px 19px; border: 1px solid #a8c0b2; border-radius: 12px; background: #232426; color: #f7f7f7; font-size: 14px; box-shadow: 0 8px 30px #0003; }
.instagram-consent { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 26px; margin: 0 0 25px; padding: 22px; border: 1px solid #c1d1c5; border-radius: 16px; background: #fff; }
.instagram-consent p { flex: 1 1 340px; color: #4c6054; font-size: 15px; line-height: 1.7; }
.instagram-consent strong { display: block; margin-bottom: 3px; color: #232426; }
.instagram-consent .cookie-button { background: #232426; border-color: #232426; color: #fff; }
.instagram-consent .cookie-button:hover { background: #496652; }
.instagram-open-link { display: block; padding: 13px 16px; background: #fff; color: #314d3b; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.instagram-card > iframe { background: #fff; }
.legal-content { padding-block: 58px 95px; }
.legal-content .legal-date { margin-bottom: 22px; font-size: 14px; color: #53685b; }
.legal-review { margin-bottom: 36px; padding: 18px 22px; border-left: 3px solid #8fa6a0; border-radius: 0 12px 12px 0; background: #e8eeea; }
.legal-review p { font-size: 15px; }
.legal-content h2 { font-size: clamp(25px, 3vw, 34px); letter-spacing: -.04em; line-height: 1.2; }
.legal-content p, .legal-content li { font-size: 17px; line-height: 1.85; color: #4c6054; }
.legal-content li + li { margin-top: 8px; }
.legal-content code { font: .85em ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.legal-table-wrap { overflow-x: auto; margin-block: 24px; border: 1px solid #c8d6cc; border-radius: 12px; }
.legal-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 15px; line-height: 1.7; }
.legal-table th, .legal-table td { padding: 16px 18px; vertical-align: top; border-bottom: 1px solid #d7e0d9; overflow-wrap: anywhere; }
.legal-table th { color: #263c2d; background: #e5ede7; font-weight: 650; }
.legal-table td { color: #4c6054; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-content .cookie-button { margin-top: 20px; color: #19221f; text-decoration: none; }
@media (max-width: 900px) {
  .footer-legal { flex-basis: 100%; justify-content: flex-start; margin-left: 0; order: 3; }
}
@media (max-width: 600px) {
  .cookie-banner { left: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: calc(100% - 24px); padding: 22px; border-radius: 17px; }
  .cookie-banner .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-banner [data-cookie-action='customize'] { grid-column: 1 / -1; }
  .cookie-banner .cookie-button { padding-inline: 9px; font-size: 13px; }
  .cookie-dialog { padding: 24px; }
  .cookie-dialog .cookie-actions { flex-direction: column; }
  .cookie-dialog .cookie-actions > button { flex-basis: auto; }
  .cookie-notice { left: 12px; bottom: 12px; width: calc(100% - 24px); }
  .footer-legal { column-gap: 18px; }
  .legal-content p, .legal-content li { font-size: 16px; }
  .legal-table th, .legal-table td { padding: 12px; }
}
