/* Latlight newsletter signup box (footer, all pages) */
:root{
  --nl-bg:#242943; --nl-surface:#323a5e; --nl-line:rgba(255,255,255,.14);
  --nl-text:#f2f3f8; --nl-muted:#b9bdd3; --nl-accent:#e3a857; --nl-mint:#8ee9a8; --nl-cyan:#9bf6ff;
}
.nl-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}

.nl-box{
  max-width:64rem;margin:0 auto 2.4rem;padding:2rem 2.2rem;
  background:var(--nl-surface);border:1px solid var(--nl-line);border-radius:20px;
  box-shadow:0 14px 40px rgba(0,0,0,.32);
}
.nl-inner{display:flex;align-items:center;gap:2rem;flex-wrap:wrap}
.nl-copy{flex:1 1 16rem;min-width:0}
.nl-copy h3{margin:0 0 .4rem;color:#fff;font-size:1.25rem;line-height:1.3;letter-spacing:.01em;text-transform:none}
.nl-copy p{margin:0;color:var(--nl-muted);font-size:.95rem;line-height:1.55;letter-spacing:0;text-transform:none}

.nl-form{display:flex;gap:.6rem;flex:1 1 22rem;flex-wrap:wrap}
.nl-form input[type=email]{
  flex:1 1 14rem;min-width:0;height:3rem;padding:0 1.1rem;border-radius:999px;
  border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);color:#fff;
  font-size:.95rem;letter-spacing:0;box-shadow:none;margin:0;
}
.nl-form input[type=email]::placeholder{color:#a9aec6}
.nl-form input[type=email]:focus{border-color:var(--nl-accent);outline:none;background:rgba(255,255,255,.12)}
.nl-btn{
  display:inline-flex;align-items:center;justify-content:center;height:3rem;line-height:1;
  padding:0 1.5rem;border-radius:999px;border:0;background:var(--nl-accent);color:#1b1e33;
  font-size:.78rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;cursor:pointer;
  box-shadow:none;flex:0 0 auto;transition:background .2s,transform .2s;
}
.nl-btn:hover{background:#efb96b;transform:translateY(-1px)}
.nl-btn:disabled{opacity:.6;cursor:progress;transform:none}
.nl-hp{position:absolute !important;left:-9999px !important;width:0;height:0;overflow:hidden}

.nl-consent{display:flex;align-items:flex-start;gap:.55rem;margin-top:1.1rem;color:var(--nl-muted);font-size:.85rem;line-height:1.5;letter-spacing:0;text-transform:none;cursor:pointer}

/* main.css resets all inputs to appearance:none with no fallback box, which made
   this checkbox invisible. Build our own visible box + checkmark instead of
   relying on native/accent-color rendering. */
.nl-consent input[type=checkbox]{
  -webkit-appearance:none;-moz-appearance:none;appearance:none;
  flex:0 0 auto;margin:.15rem 0 0;width:1.2rem;height:1.2rem;
  border:1px solid rgba(255,255,255,.45);border-radius:4px;
  background:rgba(255,255,255,.07);
  position:relative;cursor:pointer;box-shadow:none;
  transition:background .15s,border-color .15s;
}
.nl-consent input[type=checkbox]:hover{border-color:rgba(255,255,255,.7)}
.nl-consent input[type=checkbox]:checked{background:var(--nl-accent);border-color:var(--nl-accent)}
.nl-consent input[type=checkbox]:checked::after{
  content:'';position:absolute;left:.36rem;top:.15rem;
  width:.3rem;height:.58rem;
  border:solid #1b1e33;border-width:0 2px 2px 0;
  transform:rotate(45deg);
}
.nl-consent input[type=checkbox]:focus-visible{outline:3px solid var(--nl-cyan);outline-offset:2px}

.nl-status{margin:.8rem 0 0;font-size:.9rem;color:var(--nl-muted);letter-spacing:0;text-transform:none;min-height:1.3em}
.nl-status.ok{color:var(--nl-mint)}
.nl-status.err{color:#ff9d9d}

.nl-form input:focus-visible,.nl-btn:focus-visible,.nl-consent input:focus-visible{outline:3px solid var(--nl-cyan);outline-offset:2px}

@media (max-width:640px){
  .nl-box{padding:1.6rem 1.4rem;border-radius:16px}
  .nl-inner{gap:1.2rem}
  .nl-form{flex-direction:column;align-items:stretch}
  .nl-form input[type=email]{flex:0 0 auto;width:100%;height:3rem}
  .nl-btn{width:100%}
}

#footer .nl-box{margin-top:1rem}
