/* Cookie banner and settings. Matches the navy / ice site chrome. */
.cookie-banner{
  position:fixed;
  z-index:80;
  left:12px;
  right:12px;
  bottom:12px;
  margin:0 auto;
  max-width:680px;
  background:#0c1b31;
  color:#f8faff;
  border:1px solid #496995;
  border-radius:16px;
  box-shadow:0 16px 40px #000a;
  padding:16px 16px 14px;
}
.cookie-banner h2{margin:0 0 6px;font-size:16px;line-height:1.3;color:#fff}
.cookie-banner p{margin:0;font-size:13.5px;line-height:1.55;color:#c1cad7}
.cookie-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.cookie-actions .btn{min-height:44px}
.cookie-text-btn{
  background:none;border:0;padding:0 4px;min-height:44px;
  color:#9ebfff;font:inherit;font-size:13px;font-weight:700;
  text-decoration:underline;text-underline-offset:3px;cursor:pointer
}
.cookie-text-btn:hover{color:#fff}
.legal-links button{
  background:none;border:0;padding:0;color:#9ab0ca;font:inherit;font-size:inherit;
  min-height:44px;display:inline-flex;align-items:center;cursor:pointer;
  text-decoration:underline;text-underline-offset:3px
}
.legal-links button:hover{color:#fff}
.cookie-reopen{
  position:fixed;z-index:70;left:12px;bottom:12px;
  background:#0c1b31;color:#d5e4ff;border:1px solid #496995;border-radius:10px;
  min-height:44px;padding:8px 12px;font:inherit;font-size:12px;font-weight:700;cursor:pointer
}
.cookie-dialog{
  width:min(560px,calc(100% - 24px));
  max-height:min(90vh,720px);
  overflow:auto;
  background:#0c1b31;
  color:#f8faff;
  border:1px solid #496995;
  border-radius:16px;
  padding:18px 18px 16px
}
.cookie-dialog::backdrop{background:#000c}
.cookie-dialog h2{margin:0;font-size:20px;color:#fff}
.cookie-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}
.cookie-dialog-head button{
  min-width:44px;min-height:44px;border:1px solid #3c5c85;background:#193050;border-radius:10px;color:#fff
}
.cookie-dialog > p,.cookie-choice p{color:#c1cad7;font-size:13.5px;line-height:1.55}
.cookie-choice{
  display:grid;grid-template-columns:auto 1fr;gap:4px 12px;align-items:start;
  border-top:1px solid #294462;padding:12px 0;margin:0
}
.cookie-choice input{width:20px;height:20px;margin-top:2px;accent-color:#2b70ff}
.cookie-choice span{font-weight:750;color:#fff}
.cookie-choice p{margin:2px 0 0}
.cookie-region{font-size:12.5px;color:#b7c8de;margin:8px 0 0}
.cookie-dialog .cookie-actions{margin-top:8px}
@media(max-width:720px){
  .cookie-banner{bottom:8px;padding-bottom:max(14px,env(safe-area-inset-bottom))}
  .cookie-actions .btn{flex:1 1 calc(50% - 8px)}
}
/* Short phones: one compact row so the hero signup button stays visible and tappable. */
@media(max-height:740px){
  .cookie-banner{
    left:8px;right:8px;bottom:6px;
    padding:6px 8px max(6px,env(safe-area-inset-bottom));
    border-radius:12px;
  }
  .cookie-banner h2{font-size:13px;line-height:1.2;margin:0 0 2px}
  .cookie-banner p{
    font-size:12px;line-height:1.3;
    display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden
  }
  .cookie-actions{margin-top:6px;gap:6px;flex-wrap:nowrap}
  .cookie-actions .btn{
    flex:1 1 0;min-height:40px;padding:6px 8px;font-size:12px;white-space:nowrap
  }
  .cookie-text-btn{flex:0 0 auto;min-height:40px;padding:0 2px;font-size:12px;white-space:nowrap}
}
@media(prefers-reduced-motion:reduce){
  .cookie-banner,.cookie-dialog{scroll-behavior:auto}
}
