.policy-modal[aria-hidden="true"] { display: none; }
.policy-modal { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 20px; }
.policy-dialog { position: relative; width: min(760px, 100%); max-height: min(820px, 90vh); overflow: hidden; background: #fff; border-radius: 16px; box-shadow: 0 24px 70px rgb(15 23 42 / 28%); display: flex; flex-direction: column; }
.policy-tabs { display: flex; gap: 6px; padding: 12px 20px; border-bottom: 1px solid #e5e7eb; overflow-x: auto; }
.policy-tabs button { white-space: nowrap; border: 0; border-radius: 999px; padding: 9px 14px; background: #f1f5f9; color: #475569; font-weight: 700; cursor: pointer; }
.policy-tabs button.active { color: #fff; background: #16705a; }
.policy-content { overflow-y: auto; padding: 20px 24px 28px; color: #334155; line-height: 1.7; }
.policy-content h3 { margin: 0 0 4px; color: #0f172a; }
.policy-content h4 { margin: 22px 0 4px; color: #0f172a; }
.policy-content p { margin: 6px 0; }
.policy-date { color: #64748b; font-size: .88rem; }
.policy-consent { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 8px !important; padding: 11px 12px; border-radius: 8px; background: #f8fafc; color: #475569; font-size: .88rem; line-height: 1.5; }
.policy-consent input { width: 17px !important; height: 17px; margin-top: 2px; flex: 0 0 auto; }
.policy-consent button, .site-footer button { padding: 0; border: 0; background: none; color: #126b56; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.site-footer { margin-top: 36px; padding: 28px max(20px, calc((100% - 1440px) / 2)); border-top: 1px solid #dce3e8; background: #f8fafc; color: #64748b; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: .88rem; }
.site-footer strong { color: #0f172a; font-size: 1rem; }
.site-footer nav { display: flex; gap: 14px; margin-left: auto; }
.site-footer small { width: 100%; }

@media (max-width: 720px) {
  .policy-modal { padding: 10px; align-items: end; }
  .policy-dialog { max-height: 88vh; border-radius: 16px 16px 0 0; }
  .policy-content { padding: 18px; }
  .site-footer { padding: 22px 16px 88px; }
  .site-footer nav { width: 100%; margin-left: 0; gap: 12px; flex-wrap: wrap; }
}
