/* Isolated footer/policy UI. Preserve the approved Manrope + Inter design. */
.am-site .am-footer-email { display: inline-block; margin-top: 18px; overflow-wrap: anywhere; }
.am-site .am-footer-grid > div { min-width: 0; }
.am-site .am-footer-grid a { min-height: 28px; display: inline-flex; align-items: center; }
.am-site .am-footer-grid .am-logo { display: inline-flex; }
.am-site .am-footer-safety { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--am-border); }
.am-site .am-safety-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.am-site .am-age-mark { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #52647b; border-radius: 50%; color: var(--am-text); font: 700 .9rem var(--am-heading); }
.am-site .am-safety-heading h2 { margin: 0 0 5px; font-size: 1rem; letter-spacing: -.015em; }
.am-site .am-safety-heading p { margin: 0; color: var(--am-muted); font-size: .8rem; }
.am-site .am-footer-safety > p { max-width: 1060px; margin: 0 0 12px; color: var(--am-muted); font-size: .8rem; line-height: 1.75; }
.am-site .am-help-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.am-site .am-help-links a { display: flex; flex-direction: column; justify-content: center; min-height: 70px; padding: 12px 16px; border: 1px solid var(--am-border); border-radius: 12px; background: var(--am-bg2); transition: border-color 180ms; }
.am-site .am-help-links a:hover { border-color: #52647b; }
.am-site .am-help-links strong { color: var(--am-text); font-size: .8rem; font-weight: 600; }
.am-site .am-help-links span { margin-top: 3px; color: var(--am-muted); font-size: .73rem; }
.am-site .am-footer-bottom { margin-top: 28px; }
.am-site button.am-cookie-reopen { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--am-muted); font: 400 .82rem/1.6 var(--am-body); text-align: left; box-shadow: none; cursor: pointer; }
.am-site button.am-cookie-reopen:hover, .am-site button.am-cookie-reopen:focus { background: transparent; color: var(--am-text); text-decoration: underline; }
.am-site .am-cookie-notice { position: fixed; z-index: 1000; left: 20px; bottom: max(20px, env(safe-area-inset-bottom)); width: min(400px, calc(100% - 40px)); max-height: calc(100dvh - 100px); overflow-y: auto; padding: 12px 16px; border: 1px solid #3b4d64; border-radius: 12px; background: var(--am-surface); color: var(--am-text); box-shadow: none; }
.am-site .am-cookie-notice[hidden], .am-site .am-cookie-reopen[hidden] { display: none !important; }
.am-site .am-cookie-notice h2 { margin: 0 0 4px; font-size: .85rem; font-weight: 700; letter-spacing: -.02em; }
.am-site .am-cookie-notice p { margin: 0; color: #b6c0cc; font-size: .78rem; line-height: 1.5; }
.am-site .am-cookie-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; }
.am-site .am-cookie-actions a { display: inline-flex; align-items: center; min-height: 44px; color: #dbe3ed; font-size: .78rem; text-decoration: underline; text-underline-offset: 3px; }
.am-site .am-cookie-actions button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 16px; margin: 0; border: 1px solid #52647b; border-radius: 10px; background: #192b40; color: var(--am-text); font: 600 .8rem/1.4 var(--am-body); box-shadow: none; cursor: pointer; }
.am-site .am-cookie-actions button:hover, .am-site .am-cookie-actions button:focus { border-color: #8e9aaa; background: #22364e; color: var(--am-text); }
.am-site .am-cookie-actions button:focus-visible, .am-site button.am-cookie-reopen:focus-visible { outline: 2px solid #a8b7c9; outline-offset: 3px; }
.am-site .am-legal-document { font-size: 1rem; line-height: 1.8; }
.am-site .am-legal-document h2 { margin: 36px 0 14px; font-size: 1.4rem; line-height: 1.3; }
.am-site .am-legal-document h3 { margin: 24px 0 12px; font-size: 1.12rem; }
.am-site .am-legal-document p, .am-site .am-legal-document li { color: #b4bec9; }
.am-site .am-legal-document a { color: var(--am-text); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.am-site .am-legal-document ul { padding-left: 24px; }
.am-site .am-legal-document li + li { margin-top: 8px; }
.am-site .am-legal-document .am-legal-updated { color: var(--am-muted); font-size: .85rem; }
.am-site .am-legal-fact { padding: 20px; margin: 18px 0; border: 1px solid var(--am-border); border-radius: 12px; background: var(--am-surface); }
.am-site .am-legal-fact p:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
  .am-site .am-help-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .am-site .am-footer-grid a { min-height: 44px; }
}
@media (max-width: 479px) {
  .am-site .am-cookie-notice { left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100% - 24px); padding: 12px 14px; }
  .am-site .am-help-links a { padding: 12px; }
  .am-site .am-safety-heading { align-items: flex-start; }
}
