/* Signup widget — injected globally on the homepage. */
.aa-nav-signup {
  display: inline-flex;
  align-items: center;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #2a2520;
  background: #ffffff;
  border: 1px solid #2a2520;
  padding: 8px 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background 140ms, color 140ms;
  margin-left: 12px;
}
.aa-nav-signup:hover { background: #2a2520; color: #f5f4f0; }

.aa-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: none; align-items: center; justify-content: center;
  background: rgba(20, 18, 16, 0.62);
  backdrop-filter: blur(4px);
  padding: 24px;
  font-family: 'Inter', system-ui, sans-serif;
  color: #2a2520;
}
.aa-modal.open { display: flex; }
.aa-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 460px;
  padding: 40px 36px 32px;
  border: 1px solid #d8d4cc;
  box-shadow: 16px 16px 0 #2a2520;
  position: relative;
}
.aa-modal-card h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.05;
}
.aa-modal-card .aa-sub {
  font-size: 13px;
  color: #6b6560;
  margin-bottom: 24px;
}
.aa-modal-card label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #6b6560;
  margin-bottom: 6px;
}
.aa-modal-card input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8d4cc;
  background: #ffffff;
  font-size: 15px;
  font-family: inherit;
  color: #2a2520;
  outline: none;
  margin-bottom: 16px;
  transition: border-color 140ms;
}
.aa-modal-card input:focus { border-color: #2a2520; }
.aa-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.aa-row input { margin-bottom: 16px; }
.aa-modal-card button.aa-submit {
  width: 100%;
  padding: 16px;
  background: #2a2520;
  color: #f5f4f0;
  border: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: background 140ms;
}
.aa-modal-card button.aa-submit:hover { background: #8a8680; }
.aa-modal-card button.aa-submit:disabled { opacity: 0.6; cursor: wait; }
.aa-close {
  position: absolute; top: 14px; right: 14px;
  background: transparent; border: none; cursor: pointer;
  font-size: 22px; line-height: 1; color: #6b6560;
}
.aa-close:hover { color: #2a2520; }
.aa-msg { font-size: 13px; margin-top: 12px; min-height: 18px; }
.aa-msg.err { color: #a8362a; }
.aa-msg.ok  { color: #2a6539; }
.aa-footnote {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #6b6560;
  margin-top: 18px;
  text-align: center;
}
.aa-footnote a { color: #2a2520; text-decoration: underline; }
